Values for security.txt:
Contact: https://g.co/vulnz
Contact: mailto:security@google.com
Encryption: https://services.google.com/corporate/publickey.txt
Acknowledgements: https://bughunter.withgoogle.com/
Policy: https://g.co/vrp
Hiring: https://g.co/SecurityPrivacyEngJobs
# Flag: BountyCon{075e1e5eef2bc8d49bfe4a27cd17f0bf4b2b85cf}
 145
# Please report abusive content (including spam, privacy violations, etc) at https://www.tumblr.com/abuse
Contact: https://hackerone.com/automattic/reports/new
Policy: https://hackerone.com/automattic
Acknowledgments: https://hackerone.com/automattic/thanks
Hiring: https://www.tumblr.com/jobs
 113
<!DOCTYPE html><html><head><meta charset="UTF-8"><title>404</title><meta http-equiv="Cache-Control" content="no-cache"><meta http-equiv="Expires" content="-1"><meta name="keywords" content="404"><meta name="description" content="404"><meta name="robots" content="noindex, nofollow"><script id='script_viewport' type='text/javascript'>(function () {var width = window.outerWidth > 0 ? window.outerWidth : (window.screen.width > 0 ? window.screen.width : window.innerWidth);window.ladi_is_desktop = width > 768;var content = "";if (!window.ladi_is_desktop) {content = "width=420, user-scalable=no";} else {content = "width=960, user-scalable=no";}var docViewport = document.createElement("meta");docViewport.setAttribute("id", "viewport");docViewport.setAttribute("name", "viewport");docViewport.setAttribute("content", content);document.head.appendChild(docViewport);})();</script><meta property="og:title" content="404" /><meta property="og:type" content="website" /><meta property="og:description" content="404" /><meta name="format-detection" content="telephone=no" /><link rel="dns-prefetch"><link rel="preconnect" href="https://fonts.googleapis.com/" crossorigin><link rel="preconnect" href="https://w.ladicdn.com/" crossorigin><link rel="preconnect" href="https://api.forms.ladipage.com/" crossorigin><link rel="preconnect" href="https://la.ladipage.com/" crossorigin><link rel="preload" href="https://fonts.googleapis.com/css?family=Open Sans:bold,regular&display=swap" as="style" onload="this.onload = null;this.rel = 'stylesheet';"><style id="style_ladi" type="text/css">a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,button,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,input,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,select,small,span,strike,strong,sub,summary,sup,table,tbody,td,textarea,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;outline:0;font-size:100%;font:inherit;vertical-align:baseline;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}a{text-decoration:none}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}body{font-size:16px;-ms-text-size-adjust:none;-moz-text-size-adjust:none;-o-text-size-adjust:none;-webkit-text-size-adjust:none}.overflow-hidden{overflow:hidden}.ladi-transition{transition:all 150ms linear 0s}.ladipage-message{position:fixed;width:100%;height:100%;top:0;left:0;z-index:1000000000;background:rgba(0,0,0,.3)}.ladipage-message .ladipage-message-box{width:400px;max-width:calc(100% - 50px);height:160px;border:1px solid rgba(0,0,0,.3);background-color:#fff;position:fixed;top:calc(50% - 155px);left:0;right:0;margin:auto;border-radius:10px}.ladipage-message .ladipage-message-box h1{background-color:rgba(6,21,40,.05);color:#000;padding:12px 15px;font-weight:600;font-size:16px;border-top-left-radius:10px;border-top-right-radius:10px}.ladipage-message .ladipage-message-box p{font-size:14px;padding:0 20px;margin-top:10px;line-height:18px;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box}.ladipage-message .ladipage-message-box .ladipage-message-close{display:block;position:absolute;right:15px;bottom:10px;margin:0 auto;padding:10px 0;border:none;width:80px;text-transform:uppercase;text-align:center;color:#000;background-color:#e6e6e6;border-radius:5px;text-decoration:none;font-size:14px;font-weight:600;cursor:pointer}.ladi-wraper{width:100%;height:100%;overflow:hidden}.ladi-section{margin:0 auto;position:relative}.ladi-section .ladi-section-arrow-down{position:absolute;width:36px;height:30px;bottom:0;right:0;left:0;margin:auto;background:url(https://w.ladicdn.com/v2/source/ladi-icons.svg) no-repeat;background-position:4px;cursor:pointer;z-index:90000050}.ladi-section.ladi-section-readmore{transition:height 350ms linear 0s}.ladi-section .ladi-section-background{position:absolute;content:'';display:block;top:0;left:0;height:100%;width:100%;pointer-events:none}.ladi-container{position:relative;margin:0 auto;height:100%}.ladi-element{position:absolute}.ladi-overlay{position:absolute;content:'';display:block;top:0;left:0;height:100%;width:100%;pointer-events:none}.ladi-app{position:absolute;width:100%;height:100%}.ladi-carousel{position:absolute;width:100%;height:100%;overflow:hidden}.ladi-carousel .ladi-carousel-content{position:absolute;width:100%;height:100%;left:0;transition:left 350ms ease-in-out}.ladi-carousel .ladi-carousel-arrow{position:absolute;width:30px;height:36px;top:calc(50% - 18px);background:url(https://w.ladicdn.com/v2/source/ladi-icons.svg) no-repeat;cursor:pointer;z-index:90000050}.ladi-carousel .ladi-carousel-arrow-left{left:5px;background-position:-28px}.ladi-carousel .ladi-carousel-arrow-right{right:5px;background-position:-52px}.ladi-gallery{position:absolute;width:100%;height:100%}.ladi-gallery .ladi-gallery-view{position:absolute;overflow:hidden}.ladi-gallery .ladi-gallery-view>.ladi-gallery-view-item{background-size:cover;background-repeat:no-repeat;background-position:center center;width:100%;height:100%;position:relative;display:none;transition:transform 350ms ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}.ladi-gallery .ladi-gallery-view>.ladi-gallery-view-item.next,.ladi-gallery .ladi-gallery-view>.ladi-gallery-view-item.selected.right{left:0;transform:translate3d(100%,0,0)}.ladi-gallery .ladi-gallery-view>.ladi-gallery-view-item.prev,.ladi-gallery .ladi-gallery-view>.ladi-gallery-view-item.selected.left{left:0;transform:translate3d(-100%,0,0)}.ladi-gallery .ladi-gallery-view>.ladi-gallery-view-item.next.left,.ladi-gallery .ladi-gallery-view>.ladi-gallery-view-item.prev.right,.ladi-gallery .ladi-gallery-view>.ladi-gallery-view-item.selected{left:0;transform:translate3d(0,0,0)}.ladi-gallery .ladi-gallery-view>.next,.ladi-gallery .ladi-gallery-view>.prev,.ladi-gallery .ladi-gallery-view>.selected{display:block}.ladi-gallery .ladi-gallery-view>.selected{left:0}.ladi-gallery .ladi-gallery-view>.next,.ladi-gallery .ladi-gallery-view>.prev{position:absolute;top:0;width:100%}.ladi-gallery .ladi-gallery-view>.next{left:100%}.ladi-gallery .ladi-gallery-view>.prev{left:-100%}.ladi-gallery .ladi-gallery-view>.next.left,.ladi-gallery .ladi-gallery-view>.prev.right{left:0}.ladi-gallery .ladi-gallery-view>.selected.left{left:-100%}.ladi-gallery .ladi-gallery-view>.selected.right{left:100%}.ladi-gallery .ladi-gallery-control{position:absolute;overflow:hidden}.ladi-gallery.ladi-gallery-top .ladi-gallery-view{width:100%}.ladi-gallery.ladi-gallery-top .ladi-gallery-control{top:0;width:100%}.ladi-gallery.ladi-gallery-bottom .ladi-gallery-view{top:0;width:100%}.ladi-gallery.ladi-gallery-bottom .ladi-gallery-control{width:100%;bottom:0}.ladi-gallery.ladi-gallery-left .ladi-gallery-view{height:100%}.ladi-gallery.ladi-gallery-left .ladi-gallery-control{height:100%}.ladi-gallery.ladi-gallery-right .ladi-gallery-view{height:100%}.ladi-gallery.ladi-gallery-right .ladi-gallery-control{height:100%;right:0}.ladi-gallery .ladi-gallery-view .ladi-gallery-view-arrow{position:absolute;width:30px;height:36px;top:calc(50% - 18px);background:url(https://w.ladicdn.com/v2/source/ladi-icons.svg) no-repeat;cursor:pointer;z-index:90000050}.ladi-gallery .ladi-gallery-view .ladi-gallery-view-arrow-left{left:5px;background-position:-28px}.ladi-gallery .ladi-gallery-view .ladi-gallery-view-arrow-right{right:5px;background-position:-52px}.ladi-gallery .ladi-gallery-control .ladi-gallery-control-arrow{position:absolute;background:url(https://w.ladicdn.com/v2/source/ladi-icons.svg) no-repeat;cursor:pointer;z-index:90000050}.ladi-gallery.ladi-gallery-bottom .ladi-gallery-control .ladi-gallery-control-arrow,.ladi-gallery.ladi-gallery-top .ladi-gallery-control .ladi-gallery-control-arrow{top:calc(50% - 18px);width:30px;height:36px}.ladi-gallery.ladi-gallery-top .ladi-gallery-control .ladi-gallery-control-arrow-left{left:0;background-position:-28px;transform:scale(.6)}.ladi-gallery.ladi-gallery-top .ladi-gallery-control .ladi-gallery-control-arrow-right{right:0;background-position:-52px;transform:scale(.6)}.ladi-gallery.ladi-gallery-bottom .ladi-gallery-control .ladi-gallery-control-arrow-left{left:0;background-position:-28px;transform:scale(.6)}.ladi-gallery.ladi-gallery-bottom .ladi-gallery-control .ladi-gallery-control-arrow-right{right:0;background-position:-52px;transform:scale(.6)}.ladi-gallery.ladi-gallery-left .ladi-gallery-control .ladi-gallery-control-arrow,.ladi-gallery.ladi-gallery-right .ladi-gallery-control .ladi-gallery-control-arrow{left:calc(50% - 18px);width:36px;height:30px}.ladi-gallery.ladi-gallery-left .ladi-gallery-control .ladi-gallery-control-arrow-left{top:0;background-position:-77px;transform:scale(.6)}.ladi-gallery.ladi-gallery-left .ladi-gallery-control .ladi-gallery-control-arrow-right{bottom:0;background-position:3px;transform:scale(.6)}.ladi-gallery.ladi-gallery-right .ladi-gallery-control .ladi-gallery-control-arrow-left{top:0;background-position:-77px;transform:scale(.6)}.ladi-gallery.ladi-gallery-right .ladi-gallery-control .ladi-gallery-control-arrow-right{bottom:0;background-position:3px;transform:scale(.6)}.ladi-gallery .ladi-gallery-control .ladi-gallery-control-box{position:relative}.ladi-gallery.ladi-gallery-top .ladi-gallery-control .ladi-gallery-control-box{display:inline-flex;left:0;transition:left 150ms ease-in-out}.ladi-gallery.ladi-gallery-bottom .ladi-gallery-control .ladi-gallery-control-box{display:inline-flex;left:0;transition:left 150ms ease-in-out}.ladi-gallery.ladi-gallery-left .ladi-gallery-control .ladi-gallery-control-box{display:inline-grid;top:0;transition:top 150ms ease-in-out}.ladi-gallery.ladi-gallery-right .ladi-gallery-control .ladi-gallery-control-box{display:inline-grid;top:0;transition:top 150ms ease-in-out}.ladi-gallery .ladi-gallery-control .ladi-gallery-control-box .ladi-gallery-control-item{background-size:cover;background-repeat:no-repeat;background-position:center center;float:left;position:relative;cursor:pointer;filter:invert(15%)}.ladi-gallery .ladi-gallery-control .ladi-gallery-control-box .ladi-gallery-control-item:hover{filter:none}.ladi-gallery .ladi-gallery-control .ladi-gallery-control-box .ladi-gallery-control-item.selected{filter:none}.ladi-gallery .ladi-gallery-control .ladi-gallery-control-box .ladi-gallery-control-item:last-child{margin-right:0!important;margin-bottom:0!important}.ladi-box{position:absolute;width:100%;height:100%;overflow:hidden}#SECTION_POPUP .ladi-container{z-index:90000070}#SECTION_POPUP .ladi-container>.ladi-element{z-index:90000070;position:fixed;display:none}#SECTION_POPUP .popup-close{width:30px;height:30px;position:absolute;right:0;top:0;transform:scale(.8);-webkit-transform:scale(.8);z-index:9000000080;background:url(https://w.ladicdn.com/v2/source/ladi-icons.svg) no-repeat;background-position:-108px;cursor:pointer;display:none}.ladi-popup{position:absolute;width:100%;height:100%}.ladi-countdown{position:absolute;width:100%;height:100%}.ladi-countdown .ladi-countdown-background{position:absolute;width:100%;height:100%;background-size:inherit;background-attachment:inherit;background-origin:inherit;display:table;pointer-events:none}.ladi-countdown .ladi-countdown-text{position:absolute;width:100%;height:100%;text-decoration:inherit;display:table;pointer-events:none}.ladi-countdown .ladi-countdown-text span{display:table-cell;vertical-align:middle}.ladi-countdown>.ladi-element{text-decoration:inherit;background-size:inherit;background-attachment:inherit;background-origin:inherit;position:relative;display:inline-block}.ladi-countdown>.ladi-element:last-child{margin-right:0!important}.ladi-button{position:absolute;width:100%;height:100%;overflow:hidden}.ladi-button .ladi-button-background{position:absolute;content:'';display:block;top:0;left:0;height:100%;width:100%;pointer-events:none}.ladi-button>.ladi-element{width:100%!important;height:100%!important;top:0!important;left:0!important;display:table;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.ladi-button>.ladi-element .ladi-headline{display:table-cell;vertical-align:middle}.ladi-form{position:absolute;width:100%;height:100%}.ladi-form>.ladi-element{text-transform:inherit;text-decoration:inherit;text-align:inherit;letter-spacing:inherit;color:inherit;background-size:inherit;background-attachment:inherit;background-origin:inherit}.ladi-form .ladi-element[id^=BUTTON_TEXT]{color:initial;font-size:initial;font-weight:initial;text-transform:initial;text-decoration:initial;font-style:initial;text-align:initial;letter-spacing:initial;line-height:initial}.ladi-form>.ladi-element .ladi-form-item-container{text-transform:inherit;text-decoration:inherit;text-align:inherit;letter-spacing:inherit;color:inherit;background-size:inherit;background-attachment:inherit;background-origin:inherit}.ladi-form>.ladi-element .ladi-form-item-container .ladi-form-item{text-transform:inherit;text-decoration:inherit;text-align:inherit;letter-spacing:inherit;color:inherit}.ladi-form>.ladi-element .ladi-form-item-container .ladi-form-item-background{background-size:inherit;background-attachment:inherit;background-origin:inherit}.ladi-form>.ladi-element .ladi-form-item-container .ladi-form-item .ladi-form-control-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-size:9px 6px!important;background-position:right .5rem center;background-repeat:no-repeat}.ladi-form>.ladi-element .ladi-form-item-container .ladi-form-item .ladi-form-control:not(.ladi-form-control-select){text-transform:inherit;text-decoration:inherit;text-align:inherit;letter-spacing:inherit;color:inherit;background-size:inherit;background-attachment:inherit;background-origin:inherit}.ladi-form>.ladi-element .ladi-form-item-container .ladi-form-item .ladi-form-control-select:not([data-selected=""]){text-transform:inherit;text-decoration:inherit;text-align:inherit;letter-spacing:inherit;color:inherit;background-size:inherit;background-attachment:inherit;background-origin:inherit}.ladi-form>.ladi-element .ladi-form-item-container .ladi-form-item .ladi-form-control-select[data-selected=""]{text-transform:inherit;text-align:inherit;letter-spacing:inherit;color:inherit;background-size:inherit;background-attachment:inherit;background-origin:inherit}.ladi-form>.ladi-element .ladi-form-item-container .ladi-form-item .ladi-form-checkbox-item{text-transform:inherit;text-decoration:inherit;text-align:inherit;letter-spacing:inherit;color:inherit;background-size:inherit;background-attachment:inherit;background-origin:inherit}.ladi-form>.ladi-element .ladi-form-item-container .ladi-form-item .ladi-form-checkbox-item span{user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.ladi-form>.ladi-element .ladi-form-item-container .ladi-form-item .ladi-form-checkbox-item span[data-checked=true]{text-transform:inherit;text-decoration:inherit;text-align:inherit;letter-spacing:inherit;color:inherit;background-size:inherit;background-attachment:inherit;background-origin:inherit}.ladi-form>.ladi-element .ladi-form-item-container .ladi-form-item .ladi-form-checkbox-item span[data-checked=false]{text-transform:inherit;text-align:inherit;letter-spacing:inherit;color:inherit;background-size:inherit;background-attachment:inherit;background-origin:inherit}.ladi-form .ladi-form-item-container{position:absolute;width:100%;height:100%}.ladi-form .ladi-form-item{width:100%;height:100%;position:absolute}.ladi-form .ladi-form-item-background{width:100%;height:100%;position:absolute;pointer-events:none}.ladi-form .ladi-form-item.ladi-form-checkbox{height:auto}.ladi-form .ladi-form-item .ladi-form-control{background-color:transparent;min-width:100%;min-height:100%;max-width:100%;max-height:100%;width:100%;height:100%;padding:0 5px;color:inherit;font-size:inherit;border:none}.ladi-form .ladi-form-item.ladi-form-checkbox{padding:10px 5px}.ladi-form .ladi-form-item.ladi-form-checkbox.ladi-form-checkbox-vertical .ladi-form-checkbox-item{margin-top:0!important;margin-left:0!important;margin-right:0!important;display:block;border:none}.ladi-form .ladi-form-item.ladi-form-checkbox.ladi-form-checkbox-horizontal .ladi-form-checkbox-item{margin-top:0!important;margin-left:0!important;margin-bottom:0!important;display:inline-block;border:none}.ladi-form .ladi-form-item.ladi-form-checkbox .ladi-form-checkbox-item:last-child{margin-bottom:0!important}.ladi-form .ladi-form-item.ladi-form-checkbox .ladi-form-checkbox-item span{display:inline-block;vertical-align:middle;margin-left:5px;cursor:default}.ladi-form .ladi-form-item.ladi-form-checkbox .ladi-form-checkbox-item [type=checkbox]{display:inline-block;vertical-align:middle}.ladi-form .ladi-form-item textarea.ladi-form-control{resize:none;padding:5px}.ladi-form .ladi-button{cursor:pointer}.ladi-form .ladi-button .ladi-headline{cursor:pointer;user-select:none}.ladi-video{position:absolute;width:100%;height:100%;cursor:pointer;overflow:hidden}.ladi-video .ladi-video-background{position:absolute;content:'';display:block;top:0;left:0;height:100%;width:100%;pointer-events:none}.ladi-group{position:absolute;width:100%;height:100%}.ladi-shape{position:absolute;width:100%;height:100%}.ladi-html-code{position:absolute;width:100%;height:100%}.ladi-image{position:absolute;width:100%;height:100%;overflow:hidden}.ladi-image .ladi-image-background{background-repeat:no-repeat;background-position:left top;background-size:cover;background-attachment:scroll;background-origin:content-box;position:absolute;margin:0 auto;width:100%;height:100%;pointer-events:none}.ladi-headline{width:100%;display:inline-block;background-size:cover;background-position:center center}.ladi-headline a{text-decoration:underline}.ladi-paragraph{width:100%;display:inline-block}.ladi-paragraph a{text-decoration:underline}.ladi-list-paragraph{width:100%;display:inline-block}.ladi-list-paragraph a{text-decoration:underline}.ladi-list-paragraph ul li{position:relative;counter-increment:linum}.ladi-list-paragraph ul li:before{position:absolute;background-repeat:no-repeat;background-size:100% 100%;left:0}.ladi-list-paragraph ul li:last-child{padding-bottom:0!important}.ladi-line{position:relative}.ladi-line .ladi-line-container{border-bottom:0!important;border-right:0!important;width:100%;height:100%}a[data-action]{user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;cursor:pointer}a:visited{color:inherit}a:link{color:inherit}[data-opacity="0"]{opacity:0}[data-hidden=true]{display:none}[data-action=true]{cursor:pointer}.ladi-hidden{display:none}.backdrop-popup{display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:90000060}.lightbox-screen{display:none;position:fixed;width:100%;height:100%;top:0;left:0;bottom:0;right:0;margin:auto;z-index:9000000080;background:rgba(0,0,0,.5)}.lightbox-screen .lightbox-close{width:30px;height:30px;position:absolute;z-index:9000000090;background:url(https://w.ladicdn.com/v2/source/ladi-icons.svg) no-repeat;background-position:-108px;transform:scale(.7);-webkit-transform:scale(.7);cursor:pointer}.ladi-animation-hidden{visibility:hidden!important}.ladi-lazyload{background-image:none!important}.ladi-list-paragraph ul li.ladi-lazyload:before{background-image:none!important}@media (min-width:768px){.ladi-fullwidth{width:100vw!important;left:calc(-50vw + 50%)!important;box-sizing:border-box!important;transform:none!important}}@media (max-width:767px){.ladi-element.ladi-auto-scroll{overflow-x:scroll;overflow-y:hidden;width:100%!important;left:0!important;-webkit-overflow-scrolling:touch}.ladi-section.ladi-auto-scroll{overflow-x:scroll;overflow-y:hidden;-webkit-overflow-scrolling:touch}.ladi-carousel .ladi-carousel-content{transition:left .3s ease-in-out}.ladi-gallery .ladi-gallery-view>.ladi-gallery-view-item{transition:transform .3s ease-in-out}}.ladi-notify-transition{transition:top .5s ease-in-out,bottom .5s ease-in-out,opacity .5s ease-in-out}.ladi-notify{padding:5px;box-shadow:0 0 1px rgba(64,64,64,.3),0 8px 50px rgba(64,64,64,.05);border-radius:40px;color:rgba(64,64,64,1);background:rgba(250,250,250,.9);line-height:1.6;width:100%;height:100%}.ladi-notify .ladi-notify-image img{float:left;margin-right:13px;border-radius:50%;width:53px;height:53px;pointer-events:none}.ladi-notify .ladi-notify-title{font-size:13px;height:17px;overflow:hidden;font-weight:700;overflow-wrap:break-word;text-overflow:ellipsis;white-space:nowrap}.ladi-notify .ladi-notify-content{font-size:12px;height:17px;overflow:hidden;overflow-wrap:break-word;text-overflow:ellipsis;white-space:nowrap}.ladi-notify .ladi-notify-time{line-height:1.6;font-size:11px;display:inline-block;overflow-wrap:break-word;text-overflow:ellipsis;white-space:nowrap;max-width:calc(100% - 155px);overflow:hidden}.ladi-notify .ladi-notify-copyright{font-size:10px;margin-left:2px;position:relative;padding:0 5px;cursor:pointer;opacity:.6;display:inline-block;top:-4px}.ladi-notify .ladi-notify-copyright svg{vertical-align:middle}.ladi-notify .ladi-notify-copyright svg:not(:root){overflow:hidden}.ladi-notify .ladi-notify-copyright a{text-decoration:none;color:rgba(64,64,64,1)}.ladi-notify .ladi-notify-copyright strong{font-weight:700}.builder-container .ladi-notify{transition:unset}</style><style id="style_page" type="text/css">@media (min-width: 768px) { .ladi-section .ladi-container { width: 960px;} }@media (max-width: 767px) { .ladi-section .ladi-container { width: 420px;} }body {font-family: "Open Sans", sans-serif}</style><style id="style_element" type="text/css">@media (min-width: 768px) { #SECTION_POPUP { height: 0px;}#SECTION1 { height: 618.8px;}#PARAGRAPH2 { width: 611px; top: 271.9px; left: 174.5px;}#PARAGRAPH2 > .ladi-paragraph { color: rgb(0, 0, 0); font-size: 16px; text-align: center; line-height: 1.6;}}@media (max-width: 767px) { #SECTION_POPUP { height: 0px;}#SECTION1 { height: 569px;}#PARAGRAPH2 { width: 400px; top: 230px; left: 10px;}#PARAGRAPH2 > .ladi-paragraph { color: rgb(0, 0, 0); font-size: 16px; text-align: center; line-height: 1.6;}}</style><style id="style_lazyload" type="text/css">.ladi-section-background, .ladi-image-background, .ladi-button-background, .ladi-headline, .ladi-video-background, .ladi-countdown-background, .ladi-box, .ladi-form-item-background, .ladi-gallery-control-item, .ladi-gallery-view-item, .ladi-list-paragraph ul li:before {background-image: none !important;}</style></head><body><div class="ladi-wraper"><div id="SECTION1" class="ladi-section"><div class='ladi-section-background'></div><div class="ladi-container"><div  id="PARAGRAPH2" class="ladi-element"><p class='ladi-paragraph'><span style="font-weight: bold;">Tên miền của bạn đã được trỏ thành công!<br></span>Vui lòng xuất bản Landing Page với tên miền trên để sử dụng dịch vụ.<br>Xin cám ơn!<br></p></div></div></div><div id="SECTION_POPUP" class="ladi-section"><div class='ladi-section-background'></div><div class="ladi-container"></div></div></div><div id="backdrop-popup" class="backdrop-popup"></div><div id="lightbox-screen" class="lightbox-screen"></div><script id="script_lazyload" type="text/javascript">(function () {var list_element_lazyload = document.querySelectorAll('.ladi-section-background, .ladi-image-background, .ladi-button-background, .ladi-headline, .ladi-video-background, .ladi-countdown-background, .ladi-box, .ladi-form-item-background, .ladi-gallery-control-item, .ladi-gallery-view-item, .ladi-list-paragraph ul li');var style_lazyload = document.getElementById('style_lazyload');for (var i = 0; i < list_element_lazyload.length; i++) {var rect = list_element_lazyload[i].getBoundingClientRect();if (rect.x == "undefined" || rect.x == undefined || rect.y == "undefined" || rect.y == undefined) {rect.x = rect.left;rect.y = rect.top;}var offset_top = rect.y + window.scrollY;if (offset_top >= window.scrollY + window.innerHeight || window.scrollY >= offset_top + list_element_lazyload[i].offsetHeight) {list_element_lazyload[i].classList.add('ladi-lazyload');}}style_lazyload.parentElement.removeChild(style_lazyload);var currentScrollY = window.scrollY;var stopLazyload = function (event) {if (event.type == "scroll" && window.scrollY == currentScrollY) {return;}document.removeEventListener('scroll', stopLazyload);list_element_lazyload = document.getElementsByClassName('ladi-lazyload');while(list_element_lazyload.length > 0) {list_element_lazyload[0].classList.remove('ladi-lazyload');}};document.addEventListener('scroll', stopLazyload);})();</script><!--[if lt IE 9]><script src="https://w.ladicdn.com/v2/source/html5shiv.min.js?v=1569310222693"></script><script src="https://w.ladicdn.com/v2/source/respond.min.js?v=1569310222693"></script><![endif]--><link href="https://fonts.googleapis.com/css?family=Open Sans:bold,regular&display=swap" rel="stylesheet" type="text/css"></body></html> 110
empty OK 56
42
Contact: mailto:matt.grayson@speakcreative.com
Preferred-Languages: en
 21
# Dotdash uses a private HackerOne program for responsible disclosure, please contact our Security team for an invitation to the HackerOne program.
# Occassionaly, a request for access to the program may be rejected due to low hacker reputation, negative signal and/or code of conduct violations.
# Please include ONLY the following details in your initial message.
# - Vulnerability type
# - Severity score
# - Domain of the website
# - Your HackerOne username
Contact: mailto:security@dotdash.com
Preferred-Languages: en
 11
Contact: mailto:security@ringieraxelspringer.pl 
Encryption: https://www.ringieraxelspringer.pl/pgp-key.txt
Preferred-Languages: en, pl
OpenBugBounty: https://openbugbounty.org/bugbounty/CSO_RASP/


 11
Contact: mailto:security@ionos.com
Encryption: https://keys.openpgp.org/search?q=security%40ionos.com
 10
Contact: security@downdetector.com
Contact: security@ookla.com
Preferred-Languages: en
Canonical: https://downdetector.com/.well-known/security.txt
Hiring: https://www.ookla.com/about/careers
 10
Contact: https://www.shopify.com/security-response
Contact: mailto:security@shopify.com
Encryption: https://www.shopify.com/shopify-security.pub
Policy: https://hackerone.com/shopify
Acknowledgments: https://hackerone.com/shopify/thanks
Hiring: https://www.shopify.com/careers
 10
# If you would like to report a security issue you may report it to us on HackerOne
# Please read our vulnerability reporting policy on HackerOne
Contact: https://hackerone.com/kindred_group
Policy: https://hackerone.com/kindred_group
Acknowledgements: https://hackerone.com/kindred_group/thanks
 10
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Contact: https://www.atlassian.com/trust/security/report-a-vulnerability
Contact: mailto:security@atlassian.com
Encryption: https://security-static.prod.atl-paas.net/atlassian-security-public.asc
Preferred-Languages: en
Canonical: https://www.atlassian.com/.well-known/security.txt
Policy: https://www.atlassian.com/trust/security/report-a-vulnerability
Hiring: https://www.atlassian.com/company/careers/all-jobs?team=Security
-----BEGIN PGP SIGNATURE-----

iQJLBAEBCAA1FiEEXh3qw5vbMx/VSutRJCCXorxSdqAFAl5PSvoXHHNlY3VyaXR5
QGF0bGFzc2lhbi5jb20ACgkQJCCXorxSdqDkgQ//ZNpY4XBxQPVGSqpUgDVdknZh
CJupdpSV0WK0LgsXBQfFFp+6Rcb8m/2YaYVxh/F0XGu8rX9lqm46FVX2gJAC7hW0
Rgyl6KFoqbj3PeHsAHPzRussRo315jWcTe/6T1uKXEV9nt+0xFwORiielZVL4jfv
O107gykCQr7Z7FOrdk3+dHOviOw8M8fdkx5uctKy/gwMddnKdYYWRB4NcbvmZjjO
ShGXn8SU528fB575N/ElBGL1pn8a7zJ4m0ucOeAoVkuoIp2VsgaUxXzDnSm9c2FC
fhTe4LG4gn/LaiXWAGMLa1KMZFB7kGp8JPD4jfQN8zI40I6ZKzZvRk6ktXpymEXP
vpD/5oskmB5tjow+9eEzINhUxHfltlI8VVVAI22+oNUTR6Pmx7u9opVnHdyxB+ew
+Gf8NhUeNEjs9zL5dZXX+RoHDfzLBwVx8f2rDXRdwo+VkkETRXibTdVKqx+o2sAY
sPuD4vAYD2InpfbTuMkEe9/N2Y6te3kgyt6I8ps7kDIlzN4syvgi2ml54BRt4OcO
5jjdcolepLwLHJRicvXTJ9tDkHA6D59cHbqwmcxjrwsys7Txsod6GHIASJ3fhLFa
ZfIP+q2WrkKwyjpsybwb2zHcscd2mV5S3w8q7UPPEOkhF199+FnF0XjCkfa9tZtj
bXR9DfC0pEpqVwaDtV4=
=OUdQ
-----END PGP SIGNATURE-----
   9
Contact: mailto:security@shoptet.cz
Hiring: https://kariera.shoptet.cz/
Canonical: https://www.shoptet.cz/.well-known/security.txt
Preferred-Languages: en, cs
 9
# Our security address
Contact: mailto:security@innogames.com

# Our PGP key
Encryption: https://www.innogames.com/pgp-key.txt
 8
﻿Contact: cert@michelin.com
Encryption: cert.michelin.com
Acknowledgements: cert.michelin.com
Permission: None
Hiring: careers.michelin.com 8
Contact: mailto:security@etraveligroup.com 8
# If you would like to report a security issue please contact us:
Contact: website-security@odiso.com
 6
# If you would like to report a security issue
# you may report it to us at:
Contact: infosec@hornbach.com
Preferred-Languages: de, en 6
# If you would like to report a security issue
# please contact us at the below address.
Contact: bugbounty@cimpress.com 6
testhest 6
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Contact: mailto:thomas.deutschmann@i12.de
Contact: https://www.i12.de/impressum/
Encryption: https://keys.openpgp.org/vks/v1/by-fingerprint/15B4233CBB477D1F1F5DB7AF050ABE13B1B299C9
Preferred-Languages: de, en
Canonical: https://www.i12.de/.well-known/security.txt
-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEEFbQjPLtHfR8fXbevBQq+E7GymckFAl3e/x5fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDE1
QjQyMzNDQkI0NzdEMUYxRjVEQjdBRjA1MEFCRTEzQjFCMjk5QzkACgkQBQq+E7Gy
mcl8jQ/+O+y+Bm6/pb+2CXjuHYWAkVMtjTJvOcZwx/1HQOLuKcO4+aTfKnuRSvt4
yLEkUu2yR0Ck/bpXNLQWJhA88EggKRHpeG4Bh3HrlPe2LjRjIvDO6Gq527+2xYzf
/vpK146jdleM0I4hdw5/intyRiggngiOUAPwOrcMxpbSKK3e7nRq0CUKjtjX8SM6
q8mh4ezUQtI/08MiuVwd2LoUJCd58bpF09ov6lV8PDlddKUNreLOohR3GoNaQymL
dHImMIghh0AwuZOpEwwKbwM/Mzc8cj3jmJ+3O1XBlwbfvKYTS3GYBOgeYxSp63zO
buGT5fgdyQsYQslMxMdQJXkT/uepvMNFixiOmfdzg7kJKkqxHsrvfNJDwIqq0SSh
x6Jel3eZTh3LKx47vD11RAu/HhBXbFGIVhDw4tXxjuWbbZCqo4alWtxgzdK6n+Oe
ru4CC4/jSif3TTY3i8aXzYtmymwPb1bhs+qSI64SrjlZ8iFlm8HlggHz8B8iH9cM
Z6b4JOLlkPCJH8IZOBI+X2eCDnPsgJYUwisgwE6bzeaAxczgFSDX5oI5GHniENSg
ulyYjTGEFx73AFGmfjt8F4GRDJ7CSYEM0BFzVkl0HNmpQ4LpsX4o6IKlldcljarH
nOIDkb1kMPtoXMrqSua9Ttg5V4Ytcl9yOgvUesAjFxKj7PLShWE=
=wFFI
-----END PGP SIGNATURE-----
 6
Canonical: https://www.expressvpn.com/.well-known/security.txt

# Bug bounty program
Contact: https://www.expressvpn.com/bug-bounty
Acknowledgments: https://www.expressvpn.com/bug-bounty/acknowledgment

# ExpressVPN security team
Contact: mailto:security@expressvpn.com

# For free trial abuse, support issues or any other questions,
# contact our support team
Contact: mailto:support@expressvpn.com

Hiring: https://www.expressvpn.com/jobs 5
Contact: soc@sage.com 5
Contact: mailto:bugreporting@docplanner.com
 5
Contact: mailto:security@solidpixels.net
Contact: https://www.solidpixels.net/en/contact
Contact: https://www.solidpixels.net/cs/kontakt
Encryption: https://www.solidpixels.net/pgp-key.txt
Signature: https://www.solidpixels.net/.well-known/security.txt.sig 5
Contact: mailto:infrastructure@moustic-multimedia.fr
Preferred-Languages: fr,en
 5
Contact: mailto:security@getadigital.com
Contact: mailto:devops@geta.no 5
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Contact: https://www.atlassian.com/trust/security/report-a-vulnerability
Contact: mailto:security@atlassian.com
Encryption: https://security-static.prod.atl-paas.net/atlassian-security-public.asc
Preferred-Languages: en
Canonical: https://www.atlassian.com/.well-known/security.txt
Policy: https://www.atlassian.com/trust/security/report-a-vulnerability
Hiring: https://www.atlassian.com/company/careers/all-jobs?team=Security
-----BEGIN PGP SIGNATURE-----

iQJLBAEBCAA1FiEEXh3qw5vbMx/VSutRJCCXorxSdqAFAl5PSvoXHHNlY3VyaXR5
QGF0bGFzc2lhbi5jb20ACgkQJCCXorxSdqDkgQ//ZNpY4XBxQPVGSqpUgDVdknZh
CJupdpSV0WK0LgsXBQfFFp+6Rcb8m/2YaYVxh/F0XGu8rX9lqm46FVX2gJAC7hW0
Rgyl6KFoqbj3PeHsAHPzRussRo315jWcTe/6T1uKXEV9nt+0xFwORiielZVL4jfv
O107gykCQr7Z7FOrdk3+dHOviOw8M8fdkx5uctKy/gwMddnKdYYWRB4NcbvmZjjO
ShGXn8SU528fB575N/ElBGL1pn8a7zJ4m0ucOeAoVkuoIp2VsgaUxXzDnSm9c2FC
fhTe4LG4gn/LaiXWAGMLa1KMZFB7kGp8JPD4jfQN8zI40I6ZKzZvRk6ktXpymEXP
vpD/5oskmB5tjow+9eEzINhUxHfltlI8VVVAI22+oNUTR6Pmx7u9opVnHdyxB+ew
+Gf8NhUeNEjs9zL5dZXX+RoHDfzLBwVx8f2rDXRdwo+VkkETRXibTdVKqx+o2sAY
sPuD4vAYD2InpfbTuMkEe9/N2Y6te3kgyt6I8ps7kDIlzN4syvgi2ml54BRt4OcO
5jjdcolepLwLHJRicvXTJ9tDkHA6D59cHbqwmcxjrwsys7Txsod6GHIASJ3fhLFa
ZfIP+q2WrkKwyjpsybwb2zHcscd2mV5S3w8q7UPPEOkhF199+FnF0XjCkfa9tZtj
bXR9DfC0pEpqVwaDtV4=
=OUdQ
-----END PGP SIGNATURE-----
 4
Contact: https://help.market.envato.com/hc/en-us/requests/new?ticket_form_id=38490
Policy: https://webuild.envato.com/helpful-hacker/
Acknowledgement: https://webuild.envato.com/helpful-hacker/
Encryption: https://webuild.envato.com/pgp.txt
Signature: https://webuild.envato.com/security.txt.sig
 4
# Our security address
Contact: mailto:csirt@active24.cz

# Our PGP key
# Public key: 1024D/6E7DFC01 2012-01-19
# Fingerprint: 9A7C 8EEF DBDF F7C9 0449 7DCC 0E22 E1D7 6E7D FC01
# User ID: ACTIVE24-CSIRT <csirt@active24.cz>
# sub: 4096g/02C4551D 2012-01-19
Encryption: https://www.active24.cz/csirt/6E7DFC01.pub

# Our security policy (in Czech)
Policy: https://faq.active24.com/cz/933388-Hl%C3%A1%C5%A1en%C3%AD-bezpe%C4%8Dnostn%C3%ADch-zranitelnost%C3%AD
 4
;\
                            |' \ 
         _                  ; : ; 
        / `-.              /: : | 
       |  ,-.`-.          ,': : | 
       \  :  `. `.       ,'-. : | 
        \ ;    ;  `-.__,'    `-.| 
         \ ;   ;  :::  ,::'`:.  `.
          \ `-. :  `    :.    `.  \
           \   \    ,   ;   ,:    (\
            \   :., :.    ,'o)): ` `-.
           ,/,' ;' ,::"'`.`---'   `.  `-.
         ,/  :  ; '"      `;'          ,--`.
        ;/   :; ;             ,:'     (   ,:) 
          ,.,:.    ; ,:.,  ,-._ `.     \""'/ 
          '::'     `:'`  ,'(  \`._____.-'"'      This domain is used for technical purposes.
             ;,   ;  `.  `. `._`-.  \\           You have probably found it in an email
             ;:.  ;:       `-._`-.\  \`.         sent by one of UniSender clients.
              '`:. :        |' `. `\  ) \ 
                 ` ;:       |    `--\__,'        UniSender is an email marketing service.
                   '`      ,'                    https://www.unisender.com/
                        ,-' 
 4
Contact: https://hackerone.com/proctergamble
Acknowledgments: https://hackerone.com/proctergamble/thanks 4
# Our security address
Contact: mailto:security@esky.com

# Our OpenPGP key
Encryption: https://www.esky.com/.well-known/publickey.txt

# Our Responsible Disclosure Policy
https://www.esky.com/.well-known/security-policy.txt

# Yes we're looking for you
Hiring: https://it.esky.pl/dolacz-do-nas/

# mowimy po polsku a jaka jest twoja supermoc?
Preferred-Languages: en, pl

 4
Contact: security@liquidlight.co.uk
Encryption: https://www.liquidlight.co.uk/downloads/pgp/security.asc
 4
ok
 4
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Contact: mailto:security@fg.cz
Encryption: https://www.fg.cz/pgp.asc
Preferred-Languages: cs, en
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEk1w7GXP88+r8MT9j4+rDkrsm6tQFAl4S6g8ACgkQ4+rDkrsm
6tQfeRAAk9RrPF7dUb5Rz9qVNrfvw8LXeXoWMd07LD143QyG+zLd6lBOI2E/zI3U
gFMo/PDDtQUbMTGnFtBKwnV16aQWEuWEQ/pRiVGtqJVOlANgR0vQMqCIko0CF+AV
LqkLztQRykG+EKzA+elB/vMrCEPimXcuCXoj3922T8EcJDEDh1srjm3ZEUtxXkq/
EzQQ0aYm4dGK+GhBQDXZy+m8/4wpGb2cLSn/jrHpQnR4klkPEfx020NfmFv+y7P1
x69hqEoVgWoDYXAcf01TlYrUO6j/wIzWkMyaQ7PSthXYDWmJKOhnJIwzUrrbRqXp
wgbprsHDlwQLiR1zyAh5kxGLzhiH9eoFtqVGnzGnz+VxtgBM9HFIAZHcxoAZ6eEn
zs57J3UUlfgeZ6xn7uQPNi1zX/Z2b3PPZjNvM1cNY88MvimT1Pi+K4rcm1imO5GR
V1YMaKeDPm+gW+kkpetdFJZxDC/+ZrWOSJ9hdlbJzdfC1E5kjMEVshoPolj3GOGH
4Dimcv3lN824PbaPIF8l6kQw4DUdSrEG/kVzMkiJEboMDZRSjEAhVZh4Hg8eQwNm
o8g5USj1dZFvFedvT+x6aTdcADuQ7x+k7rMVs0BUdn63canjprNm7ngkqptMniVx
452xQo8bphIZwQ+4nE+4rDXsN0fWUVZ098elBGWpLKXC/BE8Gkw=
=b3y/
-----END PGP SIGNATURE-----
 4
Contact: security@npmjs.com
Encryption: https://keybase.io/npmregistry/pgp_keys.asc
Preferred-Languages: en
Canonical: https://www.npmjs.com/.well-known/security.txt
Policy: https://www.npmjs.com/policies/security
Hiring: https://www.npmjs.com/jobs 3
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Contact: mailto:security@airship.com
Encryption: openpgp4fpr:64C0BE3B7A6058E8B3BD437D8ECBD357243F4CF0
Acknowledgments: https://www.airship.com/legal/full-disclosure-security-policy/
Preferred-Languages: en
Canonical: https://www.airship.com/.well-known/security.txt
Policy: https://www.airship.com/legal/full-disclosure-security-policy/
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEZMC+O3pgWOizvUN9jsvTVyQ/TPAFAl60W9QACgkQjsvTVyQ/
TPC65A//bEDZUbDhe83H9J9Sf+H2+2y/lKK75ksBrZeBbg6pLpNJCEmnv38qap0y
/q70JzLvm6mWIJoi/K9CYUVjhP2pATow1yhmAkKESC4dVKmGRRmPM6oi6qROHWPr
DQFeuZiiB4B2Ep9ZPbrG5qBwDHdxe322MA7Wb8A8V7ygLyM+GV0+3TpE821bH3py
E/YFffHYz0wpPCtc4dgfqKMbbsSnPkF0DkvB8kZUr3EXJW1IApXBt+8geBvLxLPN
aEa/zoKXxwuU0IxU4Iozz/Q6KroT6F+uFTe1RCC2Awb4ahDQintOnFPy+zsyawZt
9+AzCZkuGXySWcML53PUyt94HSheioSJBtA6BpfQhJnnfDc/oc/XtZd0RzU5d9rO
RuPbs+EuNOUghmfO+ViFjbg1CZNC8nwPfLLTfY/7iqXAWiCIsh0XtCDKvg1T6daw
vEN0+LC+etJaBPElK3NLojJQ4hZjCCG5yTgz7P3yBWexNxFRBMrsZSP9NDYO9wQU
4xoCk5ZrX+7QnhHC4lTQ5CdZJ9VGn5hxb9ug5epZNZZLBS6pw7055J5y7jDXhDTb
j772mPPxSe1IORng1BtYyCNm3MAS+SUj0TFAlbh3pWw4tgK/uSxOzdV1AG619YYC
6HdDsOwH3xKkHCo7HszFMbOE1wafKSx8N0tQZ3ACxzz0W7NdAIM=
=Eysx
-----END PGP SIGNATURE-----
 3
Contact: mailto:cert@sanoma.com
Contact: mailto:sndp.oncall@sanoma.com
Preferred-Languages: en 3
Contact: security@post.ch
 3
# We greatly appreciate the efforts of security researchers
# to help improve our security and keep our users and site safe.

# While we do not offer monetary compensation today,
# we are working to establish a hall-of-fame
# for responsible disclosures in the future.

# If you would like to report a security issue,
# please contact us using the information below.

Contact: mailto:security@compass.com
Preferred-Languages: en
 3
# https://securitytxt.org
Contact: nss.showteam@nhs.net
Preferred-Languages: en
 3
# Intercom - reporting security vulnerabilities to Intercom
# Please report any security vulnerabilities to us via the contact method(s) below, only after reading the disclosure policy.
Contact: https://bugcrowd.com/intercom
Contact: mailto:security@intercom.com
Preferred-Languages: en
Canonical: https://app.intercom.com/.well-known/security.txt
# Our disclosure policy. By submitting a potential security issue to us, you are implicitly accepting these terms - please read this before submitting:
Policy: https://www.bugcrowd.com/resource/standard-disclosure-terms/
# Please visit the link below if you are interested in a career at Intercom.
Hiring: https://boards.greenhouse.io/intercom/jobs/1888872
# Hall of Fame
Acknowledgments: https://bugcrowd.com/intercom/hall-of-fame 3
Contact: mailto:security@hurb.com
Encryption: https://www.hurb.com/pgp-key.txt
Acknowledgments: https://www.hurb.com/sec-thanks.txt
Preferred-Languages: pt,en
Canonical: https://www.hurb.com/.well-known/security.txt
Hiring: https://hurb.gupy.io/ 3
﻿Contact: mailto:security@alza.cz
Contact: https://www.alza.cz/kontakt/ostatni.htm?qgid=66&qid=316 
Contact: tel:+420 725 872 004
Preferred-Languages: cs, en 3
Contact: tech@qnc.de 3
<html>
                <head>
                <script>window.location.replace("https://serve.popads.net/checkInventory.php?v=direct&siteId=24892");</script>
                <meta http-equiv="refresh" content="1;url=https://serve.popads.net/checkInventory.php?v=direct&siteId=24892" />
                </head>
                <body></body>
                </html>
                
 3
Contact: https://www.cncenter.cz/clanek/1751/czech-news-center
Contact: https://www.facebook.com/CzechNewsCenter/
OpenBugBounty: https://openbugbounty.org/bugbounty/marekl/ 3
Contact: security-txt@deuxhuithuit.com
 3
OK 3
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">www.masajescort.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 3
Page not found 3
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">www.hataywebmasters.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 3
Contact: mailto:security-nm@lefigaro.fr
Preferred-Languages: fr, en 2
# Thanks for contacting us!
Contact: security@eksisozluk.com

 2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

# Our Security Policy
Policy: https://www.odoo.com/security-report

# Our main contact email
Contact: security@odoo.com

# Our GPG key
Encryption: https://download.odoo.com/files/odoo_security.asc
Encryption: https://pgp.mit.edu/pks/lookup?op=vindex&search=0x0B9EA35A8E877D2F

# Our Security Hall of Fame
Acknowledgments: https://www.odoo.com/security-report#hof

# Preferred languages for reports
Preferred-Languages: en,fr

# Reference URL for this file
Canonical: https://www.odoo.com/.well-known/security.txt
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEkIPeRlSnjePPrdiAC56jWo6HfS8FAl8qZ1MACgkQC56jWo6H
fS+sfg//Q1EEVt5hVEt0FC1yz2SzN1bEGagQQ7RC3xV8LWyZokUbRMJ50mKmga2v
p52A/7fxRqbq92KUZt1p2u6bnub5cW7Xkc+reQGfdid56i8WN1gGqzUwdcPpYb+i
G4uyv8ZG+pregCMxloFnAni8DOqQPnLX+cHgZpKaMHC+jrK+TS7+xdv2vf8DEsmr
HDNlMIBqJMSTtNf65V5nMjYxHGxFkuT9UZPIdL4zop01Ky0xyWhGRhotmU9OUVBs
/NGMAL7YE+sNesXAwx4osJovR3WNulq/J+K8xjDRVDnpKhZLVYTuhBrkSRwTlUz2
tBKJjTCeRJw/cztmYh6Wbu/u9UNNgDVn/UhlMfPC7dOnN7dcc8R3+Y5wgLm7TzK3
ozT5UnTjRqV+dmfj58+VWU2O7X+gnkdrXCPJMvrtQ6Z32OyK9CESefX85E8yCnTi
+pzhX1otr/dXxKUz6RqHFEFLyCj/OZpbRWE4xon/ZfOBvamiHsvYAOJEPEOr56Wa
1amywf2KobA5Qj0mY+31+kmk5obnahRezRFCz3si+cLwfxrNn3rzke0quY+YevAM
ZmZgZ+K00lXs1a/sJVS1XSaRRwNrchwHL8xM9IqXs1MLtzEnOWWVgeO/qwCMCGKY
2GxAtGPG65znjw16ahsCTuH0zr/00LTb9mPBEoKwkBLdcb/i6SE=
=VYNv
-----END PGP SIGNATURE-----
 2
Contact: mailto:security@drive2.ru
Encryption: https://www.drive2.ru/assets/dynamic/pgp-key.txt
 2
Contact: https://hackerone.com/grab
Contact: security@grab.com
Acknowledgements: https://hackerone.com/grab/thanks
Policy: https://hackerone.com/grab?view_policy=true
# Hiring: https://grab.careers/
 2
Contact: mailto:contact@lichess.org
Encryption: https://lichess.org/.well-known/gpg.asc
Preferred-Languages: en
Canonical: https://lichess.org/.well-known/security.txt
Policy: https://lichess.org/contact#help-security
 2
OpenBugBounty: https://openbugbounty.org/bugbounty/graemefowler/

 2
Contact: https://www.ncsc.gov.uk/vulnerability-reporting
Encryption: https://www.ncsc.gov.uk/static-assets/documents/ncsc_public_2022-09-15_0C2ACF15.asc
Policy: https://www.ncsc.gov.uk/vulnerability-reporting
 2
HNGJpP5b-452
 2
Contact: security [at] xogrp [dot] com
Encryption: https://www.thebump.com/pgp-key.txt
Acknowledgements:
Disclosure: XO Group, Inc. is committed to protecting our customers' and partners' data. We encourage responsible disclosure and transparency.
1. If you discover a vulnerability on any of our domains, sub-domains or apps, we request that you do not publish them without reporting them to us by emailing security [at] xogrp [dot] com (we encourage you encrypt the email, but it is not mandatory). Please include CVE/CVSS details, where available, along with your contact details.
2. XO will analyse the report in a timely manner and if found credible, depending on the complexity, XO will propose a time and format for public disclosure.
3. You, the reporter may publish your discovery after the agreed timeframe or co-ordinate with us.
4. If your report was found to be credible, XO will also acknowledge you on this page along with the number of disclosures. No other bounties/prizes are guaranteed
 2
Contact: mailto:internet@rozhlas.cz 
Contact: mailto:jan.pospisil@rozhlas.cz 2
Contact: https://www.fitbit.com/bugbounty
Contact: mailto:security@fitbit.com
Encryption: https://www.fitbit.com/security-publickey.txt
Preferred-Languages: en
Canonical: https://www.fitbit.com/.well_known/security.txt
Hiring: https://www.fitbit.com/global/us/careers/all-openings
 2
Contact: mailto:security@kentico.com
Encryption: https://app.kontent.ai/pgp-key.txt 2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Contact: security@dennikn.sk
Encryption: https://dennikn.sk/.well-known/pgp-key.txt
Preferred-Languages: en, sk, cs
Canonical: https://dennikn.sk/.well-known/security.txt
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEDHCNsrtrAYUwwxlM8Yyz9KgaXTkFAl13ResACgkQ8Yyz9Kga
XTnsdQ/+O/AAuhWsCmSe4AHckLVR4rS4OD6IT4pVI/mQUWWHBV/UTNwzk5De8Pf3
hTDkK70BcnyFRzxOk4hrTO+x2Amqv9e8AaQpTWGk4IC0rBJO6A9cbJK0Egu4Uafp
KgAjEdJRbAJpq9iGIAvy5Sdd+tSZGVPSl7P6+LRbLX61QUbCJyyZqLsqtHt2/2vA
lPIc56vRqw7B4zUynkd2V8G/6lNWtuO88TjV05e69T03p9jfVB4TulJFnAk+Rlwo
xlDMPdsvceV5hUleMWk8Z/vFfltA54qleGqgU6ATXiHJM+6PYbGwHlL8eYXHgKIX
92VGjQsyzGG02XRBzlGdNoplMYq1G13H9VK9in7G0NHUcDr1Ibn1/s80Ukj4eIcr
YVe4mMeL4uZVjyrGlGBgpzx1YsnIK/9LLGL5pCv8gB42i/8hZ7wyT1Ui54Bm+EC/
i1hWQvdDLOpNAO409fWrpY/QF8WunesEkR/3MvkvhLI53DDNVPzFsKfEDIOAg6Wf
Ub6tlxx33YTpbGBt9hl6yhq64ZQgvXsx+jnkC3uxmk/dZPZS7uvIbChmu/FTAMyT
UQNDIGWetyCrSBkXXJNwYHQO6ktoMCENjUdDBJflENTzbKaLWGWwu2BHbDtIIovV
mKC0XvE+46y0/IybDoFmmNZQlFsxiFRCzTCyPL2/ohZr1mIpxAQ=
=Fhy8
-----END PGP SIGNATURE-----
 2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Contact: mailto:infosec@lovecrafts.com
Encryption: http://keys.gnupg.net/pks/lookup?op=vindex&fingerprint=on&search=0x8E141ABD57283D98  #infosec@
Preferred-Languages: en
Canonical: https://www.lovecrafts.com/.well-known/security.txt
Policy: https://www.lovecrafts.com/security.html
Hiring: https://team.lovecrafts.com/
Alt Contact: mailto:sysadmins@lovecrafts.com
Alt Encryption: http://keys.gnupg.net/pks/lookup?op=vindex&fingerprint=on&search=0x84FAD8EE05EE393C #sysadmins@

We do not currently operate a bug bounty programme. If and when we do this file will be updated.

We request that people refrain from using automated tools such as Nessus, Burp, OWASP ZAP against our production sites,
as it is important to maintain our services' availability. We have those tools too, please do not mail us automated reports.

Whilst we admire researchers enthusiasm and appreciate notifications,
to protect your valuable time and ours please *DO NOT* contact us with the following:

* Assumed vulnerabilities based upon version numbers only
* Authentication bypasses that require access to software/hardware tokens
* Attacks that require social engineering (phishing)
* Clickjacking attacks without a documented series of clicks that produce a vulnerability
* Content injection, such as reflected text or HTML tags
* CSRF for non-significant actions (logout, etc.)
* Denial-of-service attacks or issues related to rate limiting
* Missing HTTP headers, except as where their absence fails to mitigate an existing attack
* Self-XSS
* Spam (and issues related to SPF/DKIM/DMARC)
* Vulnerabilities that only affect a specific browser
* Vulnerabilities that require access to passwords, tokens, or the local system
* Vulnerabilities discovered shortly after their public release
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE2Ow6r7Bv8eIt7O8SjhQavVcoPZgFAl9R9FgACgkQjhQavVco
PZi7mg//V5yxV5NF5smeRw/BO2T/YsQ2gsoFzbpysgw3lHLeWHhcUZFrRuZkGrWL
jDcmdGlCI9/slGYLDg/jY5mTxHgwm6zx56t9DhDndajDP5X0a/YMuJCzTTvSsSTD
WcDmy8ONpTIxeZaMP3U7fGn68j4SlSJT5Rj6xR7Yrjw8vPCbInYHuOH4yItJhV1V
uVl9Hl2kr4zPs7goMUmbCoHGbByyiI403MUNUJzzPs/T/92GlAnK+Hr+DLSWQ8LT
lJKumDmEll9jYbrWfg9+wvlkd1P0m/F0XdjFQxmtRur96RapjkpbFATPOOjXLKhE
5TGoQj1eCYdOeZKTsAJkj9UI5k8ZUmxwteE+TBSpRjwlGxngk1ZKVyNOXrFFn28A
2eAlvG+lTXg1N8cshLdZMCnUFdQsCxMzNtmJsYR0+PzLtMpU2c/fgMxVK3/1K7Fm
1HvD9mq+R86/B73IhByx0rpXTTjYRQNh/qoamb4lqfO4zzUlS8fu1dzbu7nvN1v7
SiOTe7HodI8ZXBP0hjNgJ5ZeAhV1TvtnFV7xSA8gh+sVhVUH5zPN7tB3ZwP9kMIM
W36HEDuWOTu1iD9J+NeIJ9GtA7hdT9fBcrbwXCQn1d8lE59rc+lUMaI8nlHoSUjg
rQNBXHfisANg4nRSRLPI+33nhxrZ3mMAjNjJZUTxXS9Xol/O/Xk=
=WACb
-----END PGP SIGNATURE-----
 2
Contact: https://scryfall.com/contact?topic=security
 2
Contact: mailto:security@kleientertainment.com
Preferred-Languages: en
Canonical: https://www.klei.com/.well-known/security.txt
Hiring: https://www.klei.com/careers
 2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Contact: mailto:security@heinlein-support.de
Encryption: https://keys.openpgp.org/vks/v1/by-fingerprint/C0D107A484CAFE6D9F8DA2A8478AEED092060A79
Preferred-Languages: de, en
Canonical: https://www.heinlein-support.de/.well-known/security.txt
Canonical: https://www.jpberlin.de/.well-known/security.txt
Canonical: https://mailbox.org/.well-known/security.txt
Hiring: https://heinlein-support.de/jobs
Expires: 31 Oct 2021 00:00:00 UT
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwNEHpITK/m2fjaKoR4ru0JIGCnkFAl/GaVIACgkQR4ru0JIG
CnmYUBAAqG0UsvjNY5yeg3QEObJa9fg6tB9QHGLL9hyqE01bZeinWNK5PbtsHeKL
3q7SWgHIwelecHkSvV6EMbsahk4rZq0NlFLjwCZKK4012Ll7EgNHE7MOm6wPAYi3
0qOYA9ylSQk0MZW93Mj/hRvkWHGpwwffu1yul8ihVeNI/KhfnZ6PgMbLB0n4AzAG
lyfKF8DnJ2MLD+eyh4+hP58N1yRfP+Xrp/f93EW1+HuxRGA5H40iQLxJ5UWSmZ/b
Ni0h5Gg2pCZa/Nati3GZgIrI5UfrCH1OQHNi2nduhTli31ZAkJZaCY9hUtlR3fE/
flbUv9SW0Lx95KLphRPid8uftOPV9KluYZBLW5pWrRv44J1942EyhQttxMmU6A0A
gnjZK39GGXDP2d43RaRYBGt51Zs+zhYZ7B7X7iD0CKfOh/9kh84wkYnLwExVIfic
hKdr5bBScnxH1TQtf0RJLSZru1dyQLdRk3THgsMjctyIt9Lt5rkRy1gQvpxhFR0L
OKbE8XRFTzTK6fmXeXmICsgarPfUMPtvTtK/U4OBOVk4tSO+bk/nZaekW/sFQ+X5
uUwMN+k5x1eZFPj1Q4H1LchNCA8Ei4lyjSJTvgwoD/oeN0+sFi3b5NV+dWlHElts
sQuW7YWnZQqr9IDQQt9izrtec8EHAeCgk3YLWICkfEQ557Yetg4=
=eM3x
-----END PGP SIGNATURE-----
 2
Contact: sirt@oshkoshcorp.com [^security.txt] 
Policy: https://www.oshkoshcorp.com/contact/Contacts~CyberSecurity.html 2
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">orienteering.sport</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 2
Contact: security@helion.pl
Encryption: https://helion.pl/security-helion-pubkey.txt 2
# Our security address
Contact: mailto:security@teamliquid.net
 2
Contact: petr@bydzovsky.cz
 2
Contact: mailto:security@ionos.com
Encryption: https://keys.openpgp.org/search?q=security%40ionos.com
Hiring: https://jobs.ionos.de/en/job-category/it-security-1
 2
# Include 'security' in the subject line to improve response time. 
Contact: mailto:support@edmodo.com
Contact: https://support.edmodo.com/hc/en-us/articles/360035475733 2
Contact: soporte@bigpress.net
Preferred-Languages: en, es, gl

 2
Policy: https://docs.readthedocs.io/page/security.html
 2
# Conforms to IETF `draft-foudil-securitytxt-07`
Contact: mailto:security@linkedin.com
Contact: https://www.linkedin.com/help/linkedin/answer/62924
Encryption: https://www.linkedin.com/help/linkedin/answer/79676
Canonical: https://www.linkedin.com/.well-known/security.txt
Policy: https://www.linkedin.com/help/linkedin/answer/62924
 2
Contact: mailto:security@cakemail.com
Encryption: https://app.cakemail.com/.well-known/pgppubkey.txt
 2
Contact: security@ackama.com
Preferred-Languages: en
 2
Contact: security@siteone.cz
Contact: https://www.siteone.cz/
Hiring: https://www.siteone.cz/
 2
Contact: security@passengerteam.com
Encryption: https://www.discoverpassenger.com/security/


 2
Contact: security.fr@orange.com
Encryption: https://www.orange.fr/.well-known/securityfr-pubkey.asc
Hiring: https://orange.jobs/
 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Canonical: https://www.deepl.com/.well-known/security.txt
Contact: mailto:security@deepl.com
Encryption: https://www.deepl.com/gpg/security-at-deepl-pubkey-F22B8D41.txt
Preferred-Languages: en
-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEEa9MA8TeC1OEsNn357L3pjvIrjUEFAl7XgYMTHHNlY3VyaXR5
QGRlZXBsLmNvbQAKCRDsvemO8iuNQdcvEAC2GJ+kuSNOsdxcRbD5sA4SVJmPQNjw
dfKvnhEXR15vW7G4wOiEeR4iAi9WwYEiuCK25g8puOPM1RNCzJaeNqk3qcZJKlMg
ALAUatrfTxr4sXOV5U5gmCjMWsQWnc8RM95yKrbuOtFcq1xi2MPqLbfbuwEVykRf
efb4Qzz9pk4Vi1OhQdj5KRfv083DOcfJ2oU2NniXaaKk2XWUaa4VxVGqXf8cVzZ9
dzftPLbQnl1GNybVxB16gFnHsSYciTM/OawxgjTJtXB3+AY/LUnBZL0GUvHFpoF+
iJnJU4MPfqF7vPLlE31B4EUjj0pdZBr4XgpgYpWVDEp20BloSmcIVaBFaGee1a+9
60ld0tZm3na+dZHlT+MEtWCXCL6g7RB4jK2zjllIsh1DivnZaYPUkgIvdP61rAZ0
IeqYlxYGMZCWBHy7H7re3yB9syJAA+X9lyUecMVdwR2SXiVvmPREKkJGJUtD4nKN
nPH2bakQr7TH7DrEpz1LYnlQNkUchcmGasLLELluWdmgalC96mEsFn7Iai79Pf0K
M5texJvgCOu915NxEDC34lat3k/ZHMjq4M1tmPI/+z1IFyz7fHjQVq2W97Sx5D/g
Bv1Yb3K9lDNJWOnJPNJHkds3VahVP3NRsP4s2APLoUuvQZJVjMeoTzSgIuTDIyW8
h/wTl4ckGF7cMA==
=E4YO
-----END PGP SIGNATURE-----
 1
Contact: security@parallels.com
Preferred-Languages: en,ru
 1
Contact: https://hackerone.com/allegro/reports/new
Acknowledgments: https://hackerone.com/allegro/hacktivity
Policy: https://hackerone.com/allegro?view_policy=true
Hiring: https://allegro.tech/jobs/
 1
Contact: mailto:vulnerabilityreporting@ADP.com
Preferred-Languages: en
Canonical: https://www.adp.com/.well-known/security.txt
Policy: https://www.adp.com/about-adp/data-security.aspx
Hiring: https://jobs.adp.com/
 1
# You can report security issues on our site through our bugbounty program on HackerOne
Contact: https://hackerone.com/ozon

# Alternatively, you can use this e-mail address (but we make payments only through HackerOne, so if you want to recieve bounty, use HackerOne for reporting):
Contact: security-report@ozon.ru

# Other security questions, not connected to security bugs
Contact: https://docs.ozon.ru/common/bezopasnost

Acknowledgments: https://hackerone.com/ozon/thanks

Preferred-Languages: en,ru

Canonical: https://www.ozon.ru/.well-known/security.txt

Policy: https://hackerone.com/ozon?view_policy=true

Hiring: https://job.ozon.ru/
 1
adsymptotic.com 1
Contact: developer@ecosia.org
Contact: https://info.ecosia.org/about
Preferred-Languages: en, de, fr, it, nl
Canonical: https://www.ecosia.org/.well-known/security.txt
 1
Contact: mailto:whitehat@lego.com
Preferred-Languages: en
Canonical: https://www.lego.com/.well-known/security.txt 
Policy: https://www.lego.com/legal/notices-and-policies/responsible-disclosure-policy/ 1
# If you would like to report a security issue
# you may report it to us on HackerOne.
Contact: https://hackerone.com/flickr
 1
Contact: https://support.gog.com/hc/en-us/requests/new?form=other&product=gog
Encryption: https://gog.com/.well-known/pgp-key.txt
Preferred-Languages: en
Canonical: https://gog.com/.well-known/security.txt

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEvgl2EwqTmoGyFDUu3jCbSG8UrhQFAl+FlgwACgkQ3jCbSG8U
rhQ4fBAAqh0jhQgT2EbFwfZwpG55qyJSsyJyHxxqN/kataTJ6RR/Xwex1Ub0pHvJ
ao2q98bwQXw6KxZqaCy1OSFdrGR1vxoa3wn3V5ATP6l1tgTERCqn82J++8hinAgn
GudPeUOLrrmK+094rZgrYQ9d7yCxHFhMueHRy/1Sy4QwbopZqcN565p/uDYjwO1J
5glsoG1eJ6WICaVFGp/ZQ5dZWtpzhkMhiP4R34LJg/OffU/D6Yu8WvaEZhWNvT36
Uf1TwLSTH+Uj55veU0JAkbYpYgwmtfsbk5hyKNR65K8+H2EfzRZSDHzn/UY5PwKt
2KuhV7uiG+1ZKUfWEM/wRnFsu7E+7qRTkpu8Azk298gxeT2juBF6NYbeiXq3iO11
dt4+JJZ+YzmmOUk5K65rnZq76Shch6wr+hK4tHSnl5wl3mkCNSQr+p4foNhIrcEl
EbLUp5FLZ67O3LmsjGlr+ONCEtlTS/gF9475FiCCh8OEWbBzKDnCbq75Rr8R89Ob
gXsc+l7Q7xdHTrTABYDFLOdXD05qzfY9BXxytvArr532JU7Kh4tWYjiceDexCTom
FCqa8Dx12qr5x6qwe4KUVxZJZQtfBl33zN8UVwt3t7m3ofGH+cC7dcVt9DKXrpTh
otPiiLQp3wm9t1Qa52VMM4aQut6OArNW6dtgDDlilF1HtDFLNR4=
=kzaw
-----END PGP SIGNATURE----- 1
Vulnerability Disclosure Policy

The Norddeutsche Rundfunk (NDR) appreciates the work of ethical security researches done in security vulnerabilities.
We are continuously conducting internal investigations and work on resolving security issues in our services and on our platforms.
We would like to collaborate and work with the security community, with the purpose of improving our online security and this document aims to define our policy in regard of doing so.

Scope:
Vulnerabilities found on our Domains *.ndr.de, *.ndrmedia.de, *.tagesschau.de and services, by NOT leveraging following methods:
- Brute force
- Denial of service (DDoS)
- Injecting Malware
- Social engineering (e.g. phishing etc.)
- Corrupting Data
- Any method that would disrupt our services
- Any method that would impair the distribution of our broadcasts
- Any method that would be otherwise illegal

Bug Bounty:
Due to the NDR funding system, it is currently not possible to provide any payment or any kind of bounty for any found flaw in our systems.
However, as a token of appreciation we would like to add our helping security researches to our appreciation list.

Reporting:
To submit a report please contact us at it-sicherheit@ndr.de
- A clear description of the issue, including the impact you believe it has on the user, NDR, others.
- Specific reproduction steps including the environment used for testing (browsers, devices, tools, configuration) and any accounts used during testing.
- Clear and valid security impact of the issue.
- Your recommendations to resolve the issue.
- You can expect an initial feedback to your request in the first 48h.

Our Promise:
NDR supports safe harbor for security researchers who:
Make a good faith effort to avoid privacy violations, destruction of data, and interruption or degradation of our services.
Only interact with accounts you own or with explicit permission of the account holder. If you do encounter Personally Identifiable Information (PII) contact us immediately, do not proceed with access, and immediately purge any local information. A publication or transfer of PII is not permitted under any circumstances.
After the investigation has ended, all knowledge and data must be handed over to NDR and deleted by the investigator.
Copies or duplicates of the data may not be made. Upon completion of the investigation, the investigator shall hand over or destroy with prior consent in compliance with the data protection laws any and all records which passed into his or her possession, any and all generated processing and utilization results. The same shall apply to test and scrap material. Deletion reports must be presented upon request.

Provide us with a reasonable amount of time to resolve vulnerabilities prior to any disclosure to the public or a third-party.
Within the framework of the legal system, we will consider activities conducted consistent with this policy to constitute "authorized" conduct and will not pursue civil action or initiate a complaint to law enforcement.
We will help to the extent we can if legal action is initiated by a third party against you.
 1
Contact: mailto:security@blackbaud.com
Encryption: https://www.blackbaud.com/docs/default-source/security/security_blackbaud_com_publicpgpkey.zip
Preferred-Languages: en
Policy: https://www.blackbaud.com/security/responsible-disclosure
 1
#         .;''-.
#      .' |    `._
#     /`  ;       `'.
#   .'     \         \
#  ,'\|    `|         |
#  | -'_     \ `'.__,J
# ;'   `.     `'.__.'
# |      `"-.___ ,'
# '-,           /
# |.-`-.______-|
# }      __.--'L
# ;   _,-  _.-"`\         ___
# `7-;"   '  _,,--._  ,-'`__ `.
#  |/      ,'-     .7'.-"--.7 |        _.-'
#  ;     ,'      .' .'  .-. \/       .'
#   ;   /       / .'.-     ` |__   .'
#    \ |      .' /  |    \_)-   `'/   _.-'``
#     _,.--../ .'     \_) '`_      \'`
#   '`f-'``'.`\;;'    ''`  '-`      |
#      \`.__. ;;;,   )              /
#       `-._,|;;;,, /\            ,'
#        / /<_;;;;'   `-._    _,-'
#       | '- /;;;;;,      `t'` \.  You've poked and cajoled
#       `'-'`_.|,';;;,      '._/|  Found security gold!
#       ,_.-'  \ |;;;;;    `-._/   We thank you most confidently
#             / `;\ |;;;,  `"      For disclosing responsibly
#           .'     `'`\;;, /
#          '           ;;;'|
#              .--.    ;.:`\    _.--,
#             |    `'./;' _ '_.'     |
#              \_     `"7f `)       /
#              |`   _.-'`t-'`"-.,__.'
#              `'-'`/;;  | |   \ mx
#                  ;;;  ,' |    `
#                      /   '
#

Contact: abuse@dreamhost.com
Encryption: https://dreamhost.com/abuse.asc
Preferred-Languages: en
Canonical: https://www.dreamhost.com/.well-known/security.txt
Hiring: https://www.dreamhost.com/careers/ 1
Contact: mailto:security@phpmyadmin.net
Encryption: https://files.phpmyadmin.net/phpmyadmin.keyring
Encryption: https://keybase.io/phpmyadmin_sec
Preferred-Languages: en
Canonical: https://www.phpmyadmin.net/.well-known/security.txt
Policy: https://www.phpmyadmin.net/security/
 1
Contact: security@boardgamegeek.com
Encryption: https://boardgamegeek.com/download/pgp.txt
Policy: https://boardgamegeek.com/responsible_disclosure_policy
 1
Contact: mailto:bugbounty@skillshare.com
OpenBugBounty: https://openbugbounty.org/bugbounty/program_sk/
Preferred-Languages: en
Canonical: https://www.skillshare.com/.well-known/security.txt
Hiring: https://www.skillshare.com/careers
 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Contact: mailto:abuse@assurance-maladie.fr
Encryption: https://raw.githubusercontent.com/AssuranceMaladieSec/abuse/master/abuse-gpg-public-key.txt
Policy: https://assurancemaladiesec.github.io/abuse/reporting/
Acknowledgments: https://assurancemaladiesec.github.io/abuse/thanks/
Preferred-Languages: fr,en
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEDSx9bqnSlmkiIRXbSDqGYCymPFIFAl4V9/cACgkQSDqGYCym
PFIB7Q/9EI7fNOfyoCqnEH4chiTIW8fx32ldnlaE6WTgdMeQJmkyJrhd2osPAV/j
A9BU+zrWLAwQe9/Dq/w9M6mzYI/SkJ/pC0umqBnRSJYyH8gkme2/jzwh1/8ulX8w
sSOyOW1IZyxTURJSVC+0ku3/02lCkgDmWDrdIN7cmC93E8eENcEsXWQMbkErKZi9
6p+SlwUGBCVU5MaU2jCxFUfnNJ0vN2SRmj31uMvgz7/iwWAtuvRobhJOc1h4hXuG
ZgLqZkCOkINYIXM7VX+JVvenXnrXZbXUtnjaOWlapUdCLJ5QVMesVMPKoXiCivhZ
CCEes7DQsfMQrtUdhASdO9sd5b+Zk48xEpOjQNgMcdca1eZ4m/+ODJavSX1K9g9B
MIggFo7ThASsjF1nrW+X1+XTyexCTdeKh/ISkgJaQ8/+qiuPFKBbY5/2cydxUU5j
e2fszmoF2J1DG/GdOoz5vv5+QwEk0Sz7wLFH+ZCdV6xUFc79ZB1NxrtKk8w3y31Y
nYtC9vd1qZ/vr9f1tK5Fd7ljYsD47Iej2VG+0f0cQ6vopJICxzeiHx3gJpCnfnYj
A3MeFSijloKgu0EFTp5ILF70EGSMIVlqdcIa5q+Man/kdwKS2LCKxqFpODwGT9VC
EL2168D3ADYykGphCEWh003tutI8VN/4mul9WYobQ0yueTJFlds=
=sogG
-----END PGP SIGNATURE-----
 1
# In-scope security vulnerabilities reporting:
Contact: https://hackerone.com/paypal

# Bug Bounty policy:
Policy: https://hackerone.com/paypal?view_policy=true

# Join a career with PayPal
Hiring: https://jobsearch.paypal-corp.com/search?keywords=Cyber

# This file was served via:
Canonical: https://www.paypalobjects.com/.well-known/security.txt


 1
Contact: mailto:cybersec@tfl.gov.uk
Hiring: https://tfl.taleo.net/careersection/external/jobsearch.ftl
Hiring: https://tfl.gov.uk/corporate/careers/apprenticeships/cyber-security 1
Acknowledgments: https://www.adafruit.com/responsibledisclosurethanks/
Canonical: https://www.adafruit.com/security.txt
Contact: security@adafruit.com
Encryption: https://www.adafruit.com/reportingsecurityissues
Hiring: https://jobs.adafruit.com
Policy: https://www.adafruit.com/reportingsecurityissues
Preferred-Languages: en
 1
Contact: mailto:security@spacex.com
Encryption: https://www.spacex.com/.well-known/publickey.txt
Hiring: https://www.spacex.com/careers/?department=Information%2520Security
 1
Contact: mailto://cert@kit.edu
Encryption: https://www.cert.kit.edu/downloads/PGP_Keys/cert@kit.edu
Encryption: https://www.cert.kit.edu/downloads/X.509_Certificates/cert@kit.edu.der
Preferred-Languages: de, en
Canonical: https://www.kit.edu/.well-known/security.txt
Hiring: https://www.scc.kit.edu/downloads/oko/Stellenausschreibung%20E13%20SCC%20SYS%20Bereich%20IT-Sicherheit.pdf
 1
Contact: sitesecurity@trademe.co.nz
Encryption: http://keys.gnupg.net/pks/lookup?op=get&search=0xB27A5B8A08751AC7
 1
Contact: https://security.opera.com
Policy: https://security.opera.com/policy
Acknowledgments: https://security.opera.com/hall-of-fame
 1
Contact: mailto:security@troyhunt.com
Contact: https://twitter.com/troyhunt
Encryption: https://keybase.io/troyhunt 1
Contact: mailto:security_awareness@daveramsey.com

 1
# If you'd like to report a security issue, contact us via:
Contact: mailto:security-disclosure@articulate.com
Preferred-Languages: en
Canonical: https://articulate.com/.well-known/security.txt
 1
Contact: support@player.fm
Preferred-Languages: en
Canonical: https://player.fm/.well-known/security.txt
 1
Contact: mailto:security@skbkontur.ru
Contact: mailto:security@kontur.ru
Preferred-Languages: en, ru
Canonical: https://kontur.ru/.well-known/security.txt
Policy: https://security.kontur.ru
Policy: https://kontur.ru/about/security
Policy: https://kontur.ru/about/security/bugbounty

 1
# We haven't fully implemented security.txt yet, please find the most critical info below:
# Our security address
Contact: mailto:security@cksource.com

# Alternatively, go to https://ckeditor.com/contact/ and select "Technical support and security issues". 
# Make sure to provide as much details as possible.
# Please do not disclose publicly any security issues until we fix them and publish security releases.
# As soon as we receive the security report, we'll work ASAP to confirm the issue and then to provide a security fix.
# As a thank you, we always give kudos to the reporter, mentioning your name, link to a company name, Twitter account,
# whatever thing you like, in a blog post and the changelog file. Just make sure to let us know if, and how, we can mention you.
 1
redirectingat 
Host: redirectingat.com 
Remote Address: 178.128.0.34 
Time: 29/Dec/2020:02:12:45 +0000 
Scheme: http 
Request: GET /.well-known/security.txt HTTP/1.1 
Status: 200 
HTTP Referer:  
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36 1
Contact: mailto:security@chocolatey.io
Preferred-Languages: en
Canonical: https://chocolatey.org/.well-known/security.txt
Policy: https://chocolatey.org/security 1
Lookin good buddy 1
Contact: mailto:webadmin@suse.com 1
## we appreciate your interest and efforts in the security of tv2.dk. 
## Please send your concerns and thoughts to:
Contact: mailto:security@tv2.dk

## If information is confidential, we would appreciate if you could encrypt it using our openpgp key:
Encryption: https://tv2.dk/.well-known/security_at_tv2_dk_openpgp_pub.txt

## Our policy for responsible disclosure can be found here:
Policy: https://omtv2.tv2.dk/media/126365/tv_2_responsible_disclosure.pdf

## Bug Bounty / Reward statement
## -----------------------------
## TV 2 does not have a bug bounty/reward program and will therefore not offer paid bug rewards.
## We do offer tokens of our appreciation to security researchers who take the time and effort to 
## investigate and report security vulnerabilities to us.
##
## Best regards
## TV 2 Security team
 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Contact: mailto:security@drip.com
Preferred-Languages: en
Canonical: https://www.getdrip.com/.well-known/security.txt
Encryption: https://www.getdrip.com/security-pgp-key.txt
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEl/xh82OH14OldmWWgr4dV4+iQQ8FAl6fY70ACgkQgr4dV4+i
QQ+ugw/+KX+8fguBXcFPE4nqkdQ8bSRLzjy4RiIeRlmRlvUZQeI39vdSuaYEYeCy
Go10q3/aPPj6Jo7Qu3pC56YDmdlivmeT+h8zwlztBAOqDrYp+4oKx6xTiWEI07Xf
sO2JMFMpF5NVsXO9yQuDn60LrRpxJ0ipgeK665Lf9eBo5Ne3fHrv4uvTL2Y98l9o
gSMngwNjLnxnGfDU3Xfn42W4wm5iU3PYZbMnkKOMLsOY3Uj9diGJTDnioXF5b/1W
2ew/rv5KEG4YPmw7l00VuMdxRkJJMcR0g3mpEF+Rh4j6hK18ftosXNlXntkjUSHk
hMrKY+W/ENbnr2S9uLMiQqJZor0EZnva9mHJzaWTSSBqAOOSv32gO7hFXJDycnM6
7UzO5gQ0SnhkOd9p/UJonD4/pEI+b4ctUjZFgu47x0mFlTVnkQvK6RgEm1iWdllS
JKB2ux+YNj6siCNtu9f9WSUGwjnVc4evJVlLhvo/PzbklRbmXE4b+OsMcTgKX3dS
3VONtIDb53UxiurS9BkFdkLtfE0eyHaXhg85P2M1wPKR2f//Tm7GScDNpqOaoEGJ
RwffqHZ9EvMmRC+5gOs6azBtPk+Q8yh1Yc+TZdgK3eOZAbFeHV4rXPDOTPTT14tx
IqWZoaKdXcTxy9vn8tnOVRYfcHbcnLwE/4B2mZyhDw40pXwh21g=
=k6PM
-----END PGP SIGNATURE-----
 1
Contact: mailto:security@pandadoc.com
Hiring: https://www.pandadoc.com/careers/ 1
Contact: https://psirt.bosch.com/report-a-vulnerability/
Encryption: https://psirt.bosch.com/media/pgp/psirt-at-bosch-dot-com.asc
Encryption: https://certsrv.bosch.com/
Acknowledgments: https://psirt.bosch.com/hall-of-fame/
Preferred-Languages: en, de
Policy: https://psirt.bosch.com/bosch-responsible-disclosure-policy/ 1
# Dropbox uses HackerOne for responsible disclosure.
# Please report abusive content (including malware, spam, etc) to abuse@dropbox.com.
Contact: https://hackerone.com/dropbox/
Acknowledgements: https://hackerone.com/dropbox/thanks
Policy: https://hackerone.com/dropbox/
Hiring: https://www.dropbox.com/jobs/search?q=security
 1
# If you would like to report a security issue
Contact: mailto:info.security@lacoste.com 1
Contact: https://hackerone.com/v3dnews
 1
# security.txt for zoho.com
# To report abuse of our services, please contact: abuse@zohocorp.com
Contact: https://bugbounty.zoho.com/bb/#/submitbug
Contact: mailto:security@zohocorp.com
Acknowledgements: https://bugbounty.zoho.com/bb/info#hof
Policy: https://bugbounty.zoho.com/bb/info#guide

 1
Contact: dpo@adaware.com
Permission: none
Policy: https://www.adaware.com/privacy-policy
Hiring: https://www.adaware.com/careers

 1
Contact: mailto:security@cleverbridge.com
Encryption: https://www.cleverbridge.com/.well-known/security@cleverbridge.com.asc
Signature: https://www.cleverbridge.com/.well-known/security.txt.asc
Hiring: https://www.cleverbridge.com/corporate/about-us/careers/
 1
# Submit a support ticket
Contact: https://linustechtips.freshdesk.com/support/tickets/new
# Or if you have an account, send a PM to colonel_mortis
Contact: https://linustechtips.com/main/messenger/compose/?to=10813

Preferred-Languages: en

 1
Contact: mailto:security@ccpgames.com
Policy: https://www.eveonline.com/article/responsible-disclosure-reporting-security-issues
 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Contact: mailto:csirt@apnic.net
Encryption: https://www.apnic.net/community/security/vulnerability-reporting-gpg-key/
Policy: https://www.apnic.net/community/security/apnic-vulnerability-reporting-program/
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEceE3CgUgM0tUBIra9ci/22BvhFcFAl8XaBoACgkQ9ci/22Bv
hFdE4xAAhDUK0cZllcPDKkpQIMkC3ZRju8ZhYtC5WZFm8LxYE138Y4w1L1vqOUVq
v44oAAi7cab5bBZGtONA1CPcM1nEA8t+Aq41oKCBsizDSZ6C1nTtAvEzlD8bix8y
m2cJrEJCa6XM9ALYa//YYJJuD1ZAz31gKT9jU/dAq5p0dPuLzAVnfBJ6wL3eiKWE
ACYTzM9sXtuuvCLwTX3yX7WX0BTciCvc0CEq5acGzPTlzUKyRbzTKvLfIPSH1A8R
lS0ZgbhyCUHbo0KlkPUce3p9r3XXcwKA0WSEgmad1JIpjCOrkGMVk/QUYaDnW/6t
+sRj+QiMD4DIbWugFtIQXWc6q6ppt/5gTqe8PQS3Ic7Z7gI975QEbbnqHIG+AgJA
gKAp60UduWzNqlFj12lzyIR72F/DMRX+H85YjT6e06SZwusnIFuFXAc/nZj8ApiQ
hALdey/dRVSoO/9etGg1yz9TS5T7ww/5QYcXIaQKG6lLkK9a/U1+DVAs5xG5+G3G
SzWHM0KVBbFJlIoWH+g2d1P0cU2LZgHb+kFrToLOJb0KJn3Kb4h2P9YLvL10ufDA
0xifD6cwP3sPp+IU6Lj7iELoxGuN5fXT6a1pRDJFU8yuxWd7dDnAzxBhGkkp6nDu
0/4PFufIocpN1TJgKzh/lr8CsccSZFnev/xoQQ2eT1Mb3oTVFDA=
=ch51
-----END PGP SIGNATURE-----
 1
Contact: security@ftx.com
Encryption: https://ftx.com/security_pgp.txt
Policy: https://help.ftx.com/hc/en-us/articles/360031171351
 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Contact: mailto:security@bluetooth.com
Contact: https://www.bluetooth.com/learn-about-bluetooth/bluetooth-technology/bluetooth-security/reporting-security/
Encryption: https://www.bluetooth.com/learn-about-bluetooth/bluetooth-technology/bluetooth-security/reporting-security/pgp-key/
Preferred-Languages: en
Canonical: https://bluetooth.com/.well-known/security.txt
Expires: 18 Sep 2021 00:00:00 -0700
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEQq5+qU4z7d45S3QYIpu6DEnEMrEFAl9O8boACgkQIpu6DEnE
MrEAmwgAlY3mijpXrKr8rse/gqiY1u2XzgJ4MiHK2IRUnWu7ZRqw0z7ILJH/1O70
XPctBmG/Sv7/aLgph4tGCtsaxshaakDmFSDJlUWie9z6UnCV7iJa6ejgKpCElnHu
GBLg7kkKa27W8gmPeU2cfxvr1LUj9Kfhudy+CATNB9ig7U8DCcN3zVO+5MnBePXS
jNh4mK3UwE7L+xUhQQFfeoJZ1jzVyjrtwMhfzPYBDzqyKUGiXDjNk0Ay9J1oaVzD
olSywEIwdyuX0dMlij5T26ZQG4YkSIJnGKttS08QTuYBSlZdMZfes4ODqDyIGIz7
mThfNk3bUH/G2M28w2Oms4sszBcD8g==
=8Nnx
-----END PGP SIGNATURE-----
 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Contact: mailto:security@panic.com
Encryption: https://keybase.io/panic/pgp_keys.asc?fingerprint=053117aa996d22265d5771025e29a1a472af39cf
Acknowledgments: https://panic.com/blog/
Preferred-Languages: en, ja
Canonical: https://panic.com/.well-known/security.txt
-----BEGIN PGP SIGNATURE-----
Version: Keybase OpenPGP v2.1.0
Comment: https://keybase.io/crypto

wsBcBAABCgAGBQJc4a/rAAoJEKtuju4mzC49CH8H/RfVPPrzG35VGE9ew9ZaGj7F
hcQD20F6VlHNbIji8CID/cvhf00JeEh4n0WRbY1/PU/Kww1QQyirqLK6M3DPhFQJ
3cF+s/R9tl/wfLoty0D/txEzAOWyjaS2VrHPn6QBFb2m8YiIcBozM5yUlQIT3mFx
8R5hOXXQHO+/zz6ZHllpcKvk/OsmB2WJI5rfntIgU2bT1EzLiUQVeEugBTVqt2fT
p2krXtIlT5G3PU4+/v8/DoMbOWOkr14bgVEuXolWeS+SgBDEPUCKLrXinLtKCDx8
ZsuI4aWKqtIR8U0IcfggcoZ0RQHev0tTTHiDM2TeZeEb8xmBryLZzU2EXg9SWiA=
=KOKv
-----END PGP SIGNATURE-----
 1
Contact: security@zaiko.io
Preferred-Languages: en
Canonical: https://zaiko.io/.well-known/security.txt
OpenBugBounty: https://openbugbounty.org/bugbounty/zaikoio/
 1
Contact: mailto:security@heureka.cz
Encryption: https://heu.cz/.well-known/gpg-security-pub.asc
Signature: https://heu.cz/.well-known/security.txt.sig
 1
Canonical: https://utu.fi/.well-known/security.txt
Contact: mailto:security@utu.fi
Expires: Wed, 1 Jan 2025 00:00:00 +0200
 1
Contact: mailto:root@opentrackr.org
Preferred-Languages: en, nl
 1
5g9PJ7esSIt8iKzVz6xC 1
Contact: esmteam-security@sportmaster.ru
Canonical: https://sportmaster.ru/.well-known/security.txt
Hiring: https://career.habr.com/companies/sportmaster-lab/vacancies
 1
# Please report any security issues using the following information:
Contact: https://www.komplett.no/kundeservice/kontaktskjema
Preferred-Languages: no, se, dk, en
Hiring: https://www.komplettgroup.com/en/vacant-positions/
 1
# If you have found a vulnerability, we want to work with you to fix it.

Contact: security@zyxel.com.tw

Preferred-Language: en

Encryption: https://www.zyxel.com/.well-known/zyxelpublickey.txt 1
Contact: security@iflix.com
 1
Contact: mailto:chanty.sothy@gmail.com
Encryption: 
Acknowledgements: 
Policy: 
Signature: 
Hiring: 
OpenBugBounty: https://openbugbounty.org/bugbounty/chantysothy/
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ducksters.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LdmAvgZAAAAANFpo6siCN7L-SoaycQmSyPQYTkr"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">club-k.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# If you would like to report a security issue or concern with this website,
# please do so by emailing security@zen.co.uk. 
# We will respond to your message as soon as possible.
Contact: security@zen.co.uk
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">hirunews.lk</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

# Our security email address.
Contact: mailto:security@uphold.com

# Our OpenPGP key.
Encryption: openpgp4fpr:0aab8e8f32a1d68e251be67684b8f8518f2e2a15

# The Canonical URL of this file.
Canonical: https://wallet.uphold.com/.well-known/security.txt

# Date and time after which the data contained
# in this file is considered stale.
Expires: Wed, 13 Apr 2021 10:35:00 -0000

# Our careers page.
Hiring: https://uphold.com/en/about-us/careers

# Our preferred languages of communication.
Preferred-Languages: en, es, po
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEECquOjzKh1o4lG+Z2hLj4UY8uKhUFAl6jYYAACgkQhLj4UY8u
KhVQSw/+KAZPF+VQiFNqVlBS6XAAlYkPXJSU4eUCOcu/no4FEFj3DnTr/rhWv+ck
1RtMsVsMGGztAyTDRuTwOl47yp1uAkMSmPEYqeJTWec1+L5AYvI7xNOVsbiyQUcH
x08g7frxsLIzxOXMeNzUz+deQvSKC8ftXBAopTZxzLf2hLVzpn0F//MaoL/MFIwR
DswLT8vrGOvtlQZK/LaLeN43Mzls9ER+Jzg+rtSry5ntiggcc+VAVapTO3tkNp/a
phSoWWcVnNFz7swXB9aPBq0ZooOktQZMQ11/3DkajPBG1thlyf0qPSFWzdDYGhrS
j2JLTuhXGuOnmjEiWodhYQGBtJvOhFCkrLJgBCknuTEcRJkCbgCsndPAO2epGFIi
PrAJsqA+lk356gvgCeWyJO/p7mJgE489FhxSXzTAPxQAFXYp02B7smUPVRC7V+2K
lukiwdTKmaptDxP6S/HJkhj8EKwlDCOSYXRsziRPwoN2E8BXvSPgsJwUV+0BYDh8
x7cK7ADsRRCe3RqyFTdPlZQ6C9u04tJ8D5XL72H9sF1r18Aq+Qh/kXQrmiDEZlvf
0IOuMgxslUNmiVQ/c5eQWPrbdDaIdQav+6k6WMe+e6fT8/2mbnihsw3w6IYmUqzl
QTlMZRO4DQayI690ptaPaWbZofmnru++ai5YAEdCRczJYbPhxH4=
=qPkH
-----END PGP SIGNATURE-----
 1
Contact: mailto:security@precisionnutrition.com
Encryption: https://gist.githubusercontent.com/trianglegrrl/2d040c539ef1561b766f785305d293f9/raw/cbf716f057f22c66dc427fada5278b3ce185c236/pn_security.asc
Acknowledgements:
Policy:
Signature:
Hiring:
 1
Contact: mailto:teknologia_soporte@eitb.eus
Encryption: https://www.eitb.eus/pgp-tek.txt
Hiring: https://www.eitb.eus/eu/eitb-taldea/lan-poltsa/ 1
Contact: mailto:ISServiceDesk@napier.ac.uk 1
Contact: csirt@outsystems.com
Encryption: https://www.outsystems.com/-/media/files/generic/trust/csirt-pgp-signed-keys/publickey.txt?la=en&hash=E907B3308BD76E9D1BA390D4D9F15501965CEC3A
Preferred-Languages: en, pt
More-Information: https://www.outsystems.com/Trust/CSIRT/ 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">patoghu.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# File: security.txt 
# Date: 25-10-2019
# Reference: https://tools.ietf.org/html/draft-foudil-securitytxt-07
# Author: bj
#
# If you would like to report a security issue @dds.nl? 
# Please do so!
#
# You can use use the contact information mentioned below for 
# reporting security issues.
# 
# And sorry, we have no 'bug-bounty' program at this moment.
# Reports *will* be answered to, in a swiftly manner! 
# 
Contact: mailto:security@dds.nl
Contact: +31 (0) 85 747 07 07 
Encryption: https://www.dds.nl/pgp/
# ^^ Current key owner: bj 
Preferred-Languages: en, nl
Canonical: https://www.dds.nl/.well-known/security.txt
 1
Contact: mailto:security@thestage.co.uk
 1
Contact: mailto:admins@amasty.com
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cloudlinux.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">www.capitalfm.co.ke</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: larry@carthage.edu
Contact: +1-262-551-2455
Contact: https://www.carthage.edu/lis/internet-security-threats/
 1
# National Museums Liverpool - reporting security vulnerabilities to NML.

# Please report any security vulnerabilities to our website agency via the contact method(s) below, in accordance with the NCSC's Vulnerability Disclosure Policy.
# Please do not include any sensitive information in your initial message, we'll provide a secure communication method in our reply to you.
Contact: https://www.bigbluedoor.net/contact
Contact: mailto:security@bigbluedoor.net

# Our disclosure policy. By submitting a potential security incident to us, you are implicitly accepting these terms - please read this before submitting:
Policy: https://github.com/ukncsc/Vulnerability-Disclosure/blob/master/UK-Government-Vulnerability-Disclosure-Policy.md 1
Contact: security@snyk.io
Encryption: https://support.snyk.io/hc/en-us/articles/360005933037-Snyk-open-source-packages-disclosure-policy
Preferred-Languages: en, he
Policy: https://support.snyk.io/hc/en-us/articles/360005918418-Snyk-vulnerability-disclosure-program
Hiring: https://snyk.io/jobs/ 1
# If you would like to report a security issue
Contact: support@ephotozine.com
Contact: https://www.ephotozine.com/create-report 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">hannity.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfK4tMZAAAAABsQSVKm3ohXwJCsTArVgbjUpRFA"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Contact: mailto:security@nubank.com.br
Encryption: https://cdn.nubank.com.br/pgp/key.txt
Preferred-Languages: en
Canonical: https://nubank.com.br/.well-known/security.txt
Hiring: https://nubank.com.br/en/careers/
-----BEGIN PGP SIGNATURE-----

iQJLBAEBCAA1FiEE2Bw0rHClA0yBLTUwLubm4YwwYB4FAl6i9NAXHHNlY3VyaXR5
QG51YmFuay5jb20uYnIACgkQLubm4YwwYB6eGw//WYVsgXZtXfb6DuLD7XElO+Vc
prpq0u5KFcsPXWG14mhFemwg8RnRZI1QK1FgW6PCR1kUAP1aT8h27Ow94NdLDKt9
YgWCu/GZoa7bp8VK+qWlET053o9/U3vhlyGEVdshNdiCEnmFlq4OJPgKOLxLl22V
Wpl/LFXdvLn7uXuZxUgHl8AEZyixtTapnIe2iqsDYVErbn68gbMxOqa+UP9x3PXH
jt2x8hKu403rTj+yaqikJHhpRSOdU9IcryknIX84cy13SB/W+JAOPZQxVQHXgYzi
NsOXQ987KFPUantIgYiOKRorf2XN31LAcW6xX3GoDrhqHfBnPjkQ+NweJr/dObSl
ynYZnCV6+91s5sZ2I+tfhAjV9ywneub6WHfml5zP2kuwmr6KXgwLS+aETnMkbvYm
IDVdakgmACK0zi36fBtSkaW4YYPN83qxFwh5jLOPTRj3/nZVSjpdYBLashjnk1v1
U6X342JZ0FZDgasZ1OtfWLBO3vXQ5JBrDiY14GDYkrHP1LKD1pA1DBA8E2yxGLc2
o+R3pYOVFKIEIKicYg45E2FNhxVrZViEBviDe85+qIgPRVi+tJE1hAjC3DwoKMI5
x4aMSIRjRKAOWyGu8uKASR3TcDjdE3w3M3inTJCAnfVRoQqz/+71CyxygOjS5WhZ
6SOja+hY8SUN5Pu1Xig=
=3fRm
-----END PGP SIGNATURE-----
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">theaviationist.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:contact.security@epam.com
Encryption: https://www.epam.com/.well-known/public-key.asc
Preferred-Languages: en, ru
Policy: https://www.epam.com/.well-known/SecurityPolicy.html
Hiring: https://www.epam.com/careers/job-listings/job.24901.security-testing-engineer_minsk_belarus
 1
﻿Contact: mailto:security@sintef.no 1
Contact: mailto:alexander.buchner@verivox.com
Encryption: https://keys.openpgp.org/vks/v1/by-fingerprint/44FA1A4E26D314624756069FD5EAF508B67699C8
OpenBugBounty: https://openbugbounty.org/bugbounty/IsoVerivox/ 1
# Our security address
Contact: mailto:webmaster@uokik.gov.pl
Preferred-Languages: pl,en 1
# How to report security vulnerabilities to VRT (Vlaamse Radio- en Televisieomroeporganisatie)

# Report security vulnerabilities to this address. Please read our responsible disclosure policy
# before researching and before reporting any security vulnerability.
Contact: mailto:infosec@vrt.be

# Please encrypt your message if it contains sensitive information
Encryption: https://sporza.be/.well-known/infosec_at_vrt.be_pgp_pubkey.txt

# Disclosure policy. Please read before researching and/or submitting.
Policy: https://www.vrt.be/en/responsible-disclosure-policy-english-version/

# We recognize security researchers for their reports. With their permission, they will be listed
# on this page.
Acknowledgements: https://www.vrt.be/nl/info/responsible-disclosure-policy/responsible-disclosure-hall-of-fame/

# See https://securitytxt.org/ for the specification of the security.txt file format. 1
# Our security address
Contact: mailto:security@shipmonk.com

# Twitter
Contact: https://twitter.com/ShipMonkDevs

Canonical: https://shipmonk.com/.well-known/security.txt

Preferred-Languages: en, cs
 1
Contact: security@isthereanydeal.com
Preferred-Languages: en, cs, sk
 1
Contact: https://bugcrowd.com/bugcrowd
Acknowledgments: https://bugcrowd.com/bugcrowd/hall-of-fame
Preferred-Languages: en
Policy: https://bugcrowd.com/bugcrowd
Hiring: https://www.bugcrowd.com/about/careers/ 1
Contact: security@cloudsecurityalliance.org
Encryption: https://cloudsecurityalliance.org/.well-known/security@cloudsecurityalliance.org-219394FFDBA4A65A9A778B0C6905FE18CF53365F.asc
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">viagraeuw.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LeS5NoZAAAAAA8gCTPKNiTJMcpCCN_7iCzIdOsh"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:security@hemnet.se
Expires: 1 Dec 2021 00:00:00 +0000
Preferred-Languages: sv, en
Canonical: https://www.hemnet.se/.well-known/security.txt
Policy: https://www.hemnet.se/responsible-disclosure
Hiring: https://jobba.hemnet.se/jobs
 1
Contact: mailto:security@ica.se
Contact: mailto:opsec@ica.se
Preferred-Languages: en

OpenBugBounty: https://openbugbounty.org/bugbounty/A8738A/ 1
Contact: security@scotthelme.co.uk
Contact: https://twitter.com/Scott_Helme 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

# Our security address
Contact: security@websupport.sk

# Our PGP key
# Public key: pub   4096R/D8F1559F 2019-11-27
# Fingerprint: 2435 2CCA AFDD 1A42 AE85  2BFA 005C AEC3 D8F1 559F
# User ID: Security at WebSupport <security@websupport.sk>
# sub: 4096R/B029631C 2019-11-27
Encryption: https://www.websupport.sk/security-pubkey.txt

# Our security policy (in Slovak)
Policy: https://www.websupport.sk/support/kb/nahlasenie-zranitelnosti/

# Our security policy (Google translated to English)
Policy: https://translate.google.com/translate?sl=sk&tl=en&u=https%3A%2F%2Fwww.websupport.sk%2Fsupport%2Fkb%2Fnahlasenie-zranitelnosti%2F

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJeGEBeAAoJEABcrsPY8VWfrhEQAMzLtbtboE4ppevX3UXdhQlj
g6VhrD5jA2BbOhJBL1ItH0tIRa5qSerK7Abnx+lY1UwGtBYyxU7p7YX5U71lJmeA
zAZ/cneDwM9tXZ/ZRN5qHDjZ+iiDhuEterhMYM1MQCNeJmGgS4dOdXlGbjXscUZt
AOaeo+7mp/n2qwzFQr+mpUyoX/LMRRcm4EDY5TbhhWC9q3qqkjK6liYOO9chOvw9
c1/7oC1F+obzZrI0CkKNcslKezX/BamUJQ81O2SlKMC0uspUxQY97StfOy8zXy73
LEr2VqwxnWNMWnoRkOKYnndlZkQGhc8jgnA5TM6bA7qXP3GWENlwOnA5p8gN0RoN
cHu+GSa2P5pykZXN9ivJKN1+g7AxU0lf5vDAui2qni7N4qVkdz2d5/x+Olu+siN/
7L7BesI2XSnmTNoRG7zPSNQQpMBllpDMlUyv09Mu+WHYUfvTz1Zq6yeX6jn87rm8
feZvo9RyLJq90jkNFtSMePCDIqaZcnAYR5WGLV/poradouyo6MunoJ0WwtYAh836
BLLFDenIp8bwMIIAlczXg9VWiycXtiGxgD6IFL8WhKiJ1R+U+VQn0PzgU6QcFgUz
BEbUqYWa4ibb6NYYIxMi3YyxoHxzXY4t1b9RPsv/D3FP7Yp/KTqReIgAzsXpYfvL
TPd4WRT3ep1Gh2BRlfrf
=71dI
-----END PGP SIGNATURE-----
 1
Contact: mailto:cirt@palantir.com
Encryption: https://www.palantir.com/gpg-key.txt
Signature: https://www.palantir.com/security.txt.sig
Bug Bounty: https://www.palantir.com/responsible-disclosure
Hiring: https://www.palantir.com/careers/ 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">crareacatholic.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
﻿Contact: mailto:security@schroders.com 
Preferred-Languages: en
Canonical: https://schroders.com/.well-known/security.txt
Hiring: https://schroders.referrals.selectminds.com/careers/ 1
# Texthelp, Ltd. Security Disclosure

# Initial contact address. Please do not include sensitive information in the initial message.
# For follow-up timescales and instructions, please read the disclosure policy linked below.
Contact: security@texthelp.com

Preferred-Languages: en

Canonical: https://www.texthelp.com/.well-known/security.txt

# Disclosure policy. Please read this before submitting security issues.
Policy: https://docs.google.com/document/d/e/2PACX-1vQwtwixwk3TzxDEkmLc0NJnEH_u_SJ0FlHX5tFGldG3tK37k4SLeeOc8yFPIc73iMELb3F80z1SOZU4/pub

# Please see https://securitytxt.org/ for details of the specification of this file
 1
Contact: security@newsreview.com
Encryption: http://keys.gnupg.net/pks/lookup?op=get&search=0x639A7FABE976DEF3
Preferred-Languages: en
Canonical: https://www.newsreview.com/.well-known/security.txt 1
Contact: security@citywire.co.uk
Encryption: https://citywire.co.uk/.well-known/pgp-key.txt
Acknowledgements: 
Policy: http://citywire.co.uk/legal/privacy.aspx
signature:  1
Contact: security@linkingpaths.com
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cbdhempoilsale.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: https://voicethread.com/support/contact/#privacy
Policy: https://voicethread.com/howto/category/security-faq/
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">viagratodaybest.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfVovUZAAAAAAj673I9B35MkfEuPxgSpZTsb4Es"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: oliver@getstencil.com
Encryption: 
Acknowledgements: 
Policy: 
Signature:  1
Contact: mailto:info@anidb.net
Preferred-Languages: en, de
Encryption: 
Acknowledgements: 
Policy: 
Signature: 
Hiring: 
OpenBugBounty: https://openbugbounty.org/bugbounty/AniDBStatus/

 1
Contact: https://app.zerocopter.com/en/rd/f71e86cf-9034-41ac-bc75-6eda26114ead
Policy: https://app.zerocopter.com/en/rd/f71e86cf-9034-41ac-bc75-6eda26114ead
Hiring: https://jobs.ebayclassifiedsgroup.com/search-jobs/Denmark
 1
Contact: https://www.intigriti.com/programs/iboodcom/iboodcom/
Preferred-Languages: en, nl
Policy: https://www.intigriti.com/programs/iboodcom/iboodcom/
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ssupercialisever.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:admin@perfect-privacy.com
Encryption: https://www.perfect-privacy.com/.well-known/openpgpkey/hu/4y36rkzdjnzmk3oxaekyi5biowgr5kcz
Signature: https://www.perfect-privacy.com/.well-known/security.txt.sig
 1
# AdThrive ads.txt v2.27-auto
google.com, pub-8501674430909082, DIRECT, f08c47fec0942fa0 #video, banner
google.com, pub-8501674430909082, RESELLER, f08c47fec0942fa0 #video, banner
sovrn.com, 214800, DIRECT, fafdf38b16bf6b2b #banner
lijit.com, 214800, DIRECT, fafdf38b16bf6b2b #banner
indexexchange.com, 182496, DIRECT, 50b1c356f2c5c8fc #video, banner
openx.com, 537143229, DIRECT, 6a698e2ec38604c6 #video, banner
appnexus.com, 3561, DIRECT, f5ab79cb980f11d1 #video, banner
gumgum.com, 11685, DIRECT, ffdef49475d318a9 #video, banner
districtm.io, 100319, DIRECT, 3fd707be9c4527c3 #banner
appnexus.com, 1908, RESELLER, f5ab79cb980f11d1 #banner
sekindo.com, 18727, DIRECT #video
spotxchange.com, 84294, RESELLER, 7842df1d2fe2db34 #video
spotx.tv, 84294, RESELLER, 7842df1d2fe2db34 #video
advertising.com, 7372, RESELLER, e1a5b5b6e3255540 #video
advertising.com, 24410, RESELLER, e1a5b5b6e3255540 #video
improvedigital.com, 1065, RESELLER #video
pubmatic.com, 156595, RESELLER, 5d62403b186f2ace #video
indexexchange.com, 186035, DIRECT, 50b1c356f2c5c8fc #video, banner
openx.com, 539404983, DIRECT, 6a698e2ec38604c6 #video, banner
triplelift.com, 4800, DIRECT, 6c33edb13117fd86 #banner
triplelift.com, 4801, DIRECT, 6c33edb13117fd86 #banner
triplelift.com, 4802, DIRECT, 6c33edb13117fd86 #banner
triplelift.com, 4803, DIRECT, 6c33edb13117fd86 #banner
triplelift.com, 4804, DIRECT, 6c33edb13117fd86 #banner
aps.amazon.com, 4fbba76f-7987-4fa2-9733-c27eb3a2170b, DIRECT #banner
rubiconproject.com, 17698, DIRECT, 0bfd66d529a55807 #video, banner
rubiconproject.com, 9262, DIRECT, 0bfd66d529a55807 #video, banner
pubmatic.com, 157333, DIRECT, 5d62403b186f2ace #video, banner
pubmatic.com, 157347, DIRECT, 5d62403b186f2ace #video, banner
triplelift.com, 5895, DIRECT, 6c33edb13117fd86 #video, banner
undertone.com, 2002, DIRECT #video, banner
appnexus.com, 2234, RESELLER, f5ab79cb980f11d1 #video, banner
openx.com, 537153564, RESELLER, 6a698e2ec38604c6 #video, banner
media.net, 8CUH2EUJ4, DIRECT #video, banner
teads.tv, 17002, DIRECT, 15a9c44f6d26cbe1 #video, banner
video.unrulymedia.com, UNRX-PUB-e1b123d0-0bf1-4c85-80ef-8d6ff2d77f8d, DIRECT #video
triplelift.com, 5825, DIRECT, 6c33edb13117fd86 #banner
triplelift.com, 6286, DIRECT, 6c33edb13117fd86 #banner
triplelift.com, 6287, DIRECT, 6c33edb13117fd86 #banner
triplelift.com, 6288, DIRECT, 6c33edb13117fd86 #banner
triplelift.com, 6289, DIRECT, 6c33edb13117fd86 #banner
triplelift.com, 6290, DIRECT, 6c33edb13117fd86 #banner
triplelift.com, 6291, DIRECT, 6c33edb13117fd86 #banner
triplelift.com, 6292, DIRECT, 6c33edb13117fd86 #banner
triplelift.com, 6293, DIRECT, 6c33edb13117fd86 #banner
triplelift.com, 6294, DIRECT, 6c33edb13117fd86 #banner
oathprebid.com, 108, DIRECT #banner
pubmatic.com, 157852, DIRECT, 5d62403b186f2ace #banner
yieldmo.com, 2144304518241355475, DIRECT #banner
freewheel.tv, 939281, RESELLER #video
freewheel.tv, 939569, RESELLER #video
rubiconproject.com, 20130, RESELLER, 0bfd66d529a55807 #video
openx.com, 540258065, RESELLER, 6a698e2ec38604c6 #video
lkqd.net, 244, RESELLER, 59c49fa9598a0117 #video
indexexchange.com, 189263, DIRECT, 50b1c356f2c5c8fc #banner
yahoo.com, 72409f4d-9858-41ac-bf45-be255b82de89, DIRECT, e1a5b5b6e3255540 #banner
themediagrid.com, CU6Y9O, DIRECT, 35d5010d7789b49d #banner
openx.com, 540814319, DIRECT, 6a698e2ec38604c6 #banner
pubmatic.com, 158458, DIRECT, 5d62403b186f2ace #banner
telaria.com, mb9eo-oqsbf, RESELLER, 1a4e959a1b50034a #video
tremorhub.com, mb9eo-oqsbf, RESELLER, 1a4e959a1b50034a #video
triplelift.com, 5895-EB, DIRECT, 6c33edb13117fd86 #video, banner
advertising.com, 28489, DIRECT, e1a5b5b6e3255540 #video, banner
adtech.com, 11740, DIRECT, e1a5b5b6e3255540 #banner
telaria.com, 6psex-bl4yz, DIRECT, 1a4e959a1b50034a #video
tremorhub.com, 6psex-bl4yz, DIRECT, 1a4e959a1b50034a #video
rubiconproject.com, 21552, DIRECT, 0bfd66d529a55807 #banner
sonobi.com, 80fe169af3, DIRECT, d1a215d9eb5aee9e #video, banner
triplelift.com, 1884, DIRECT, 6c33edb13117fd86 #banner
spotxchange.com, 268072, DIRECT, 7842df1d2fe2db34 #video
spotx.tv, 268072, DIRECT, 7842df1d2fe2db34 #video
telaria.com, 6psex-16l5r, DIRECT, 1a4e959a1b50034a #video
tremorhub.com, 6psex-16l5r, DIRECT, 1a4e959a1b50034a #video
districtm.io, 101990, DIRECT, 3fd707be9c4527c3 #banner
lijit.com, 214800-eb, DIRECT, fafdf38b16bf6b2b #video, banner
sharethrough.com, 2101b770, DIRECT, d53b998a7bd4ecd2 #banner
rhythmone.com, 2338962694, RESELLER, a670c89d4a324e47 #video
video.unrulymedia.com, 2338962694, RESELLER #video
yahoo.com, 55891, DIRECT, e1a5b5b6e3255540 #banner
rhythmone.com, 2693636657, DIRECT, a670c89d4a324e47 #video, banner
video.unrulymedia.com, 2693636657, DIRECT #video
vdopia.com, 14360, DIRECT #video, banner
chocolateplatform.com, 14360, DIRECT #video, banner
kargo.com, 8482, DIRECT #banner
rubiconproject.com, 22412, RESELLER, 0bfd66d529a55807 #video, banner
advertising.com, 28650, RESELLER, e1a5b5b6e3255540 #video, banner
indexexchange.com, 192693, DIRECT, 50b1c356f2c5c8fc #banner
conversantmedia.com, 100174, DIRECT, 03113cd04947736d #video, banner
yieldmo.com, 2529157218733858832, DIRECT #banner
deepintent.com, 1221, DIRECT #banner
cafemedia.com, 5aa6d9bafdf4d60603ab471b, DIRECT, ecc1a0488da6f87f 1
Contact: itsecuritycontact@usc.edu.au 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cannabidioloilfordogs.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cbdoilfordog.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:vulnerabilityreporting@spacex.com
Encryption: https://www.starlink.com/.well-known/publickey.txt
Hiring: https://www.spacex.com/careers/index.html?department=Software%2520Development
 1
Contact: mailto:security@onlyoffice.com
Encryption: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xc04e723e625dff8fb9eb07bac68bd8d472c3e2b3 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Contact: security@jfrog.com
Encryption: https://jfrog.com/security/public-key.txt
Preferred-Languages: en
Canonical: https://jfrog.com/.well-known/security.txt
Hiring: https://join.jfrog.com
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwaQ9uCd/KOUCb3xUx408KLH0g48FAl/YtDoACgkQx408KLH0
g4/5LA//UyPqnbi9zVzh3k4rXVH/X85zkqkzeOVAIrsB0mzFGoos6+oCHuSpt6l6
wME5YfBUx8wJ1Gcf/fN9AYSVE0jyHzAuK0lVd+tgiXUlYxXCWQo8p2VHMrvNxgxo
JrEcNoJiclADTeyEHw5To8X/tbSXkmn6oySE1N8i2O5tnkfJxLa/bfOV2s/tAcSF
QVlsSLzhG703LVw0vKtQkb/U7kqCk07wl+z6h+AAELUwjcIHXzjQ3r3NELu5RJdq
8Ad8JcpwmJ8gRj8KP1aezEcNX/hLOz9GoBFP84rKk10NLNah3Zee/fg0gvzTty2w
oyG3SNA3K6zCKFCUKriHg7444nHxJt7U75DUoUUaexBeEHflAD7KrXU5GJrHnsWp
+cDrEJ0PL4+X1tBvc7F8LhEWp1TJC627XzqV+N0nklWN6m3YyGcKxeZBdqqGbCTw
VtdHBCgKk8jSRCsLKvyKE0mJeiPpwCZd3CEOkT1z+eClyKkDbnVltlKDXBKKzan6
fIjaUaPlWE9WhT2YRC1V/yHZLVMAas23SH7MN9RWQ7io93HbAQG22jvCD2ouiviY
f0wljHV4fp744USl1uHzxV5+ROEsj0PSjNnWzRp9Sfu6b1uRJoMFv8nnPzQHADfH
Z8vnrfxibLh9BuTBhhrjCHccnwv9ujVNKBdSsoFtZvdvQjmhp/Q=
=fXJP
-----END PGP SIGNATURE----- 1
Contact: mailto:security@ccli.com
Encryption: https://ccli.com/.well-known/security_public_key.txt
Signature: https://ccli.com/.well-known/security.txt.sig
 1
# If you would like to report a security issue:
Contact: mailto:securitytxt@kongsberg.com 1
Contact: mailto:security@clixwall.com
Preferred-Languages: en
Canonical: https://www.clixwall.com/.well-known/security.txt
Description: We are not offering any bug bounties now. 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cannabidioloilsale.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cyclonethemes.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: info@aida.de
Preferred-Languages: en, de
Hiring: https://aida.de/careers
 1
Contact: vaclav.vlcek@tyden.cz
Contact: https://www.facebook.com/vaclav.vlcek
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">sildenonline.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LeS5NoZAAAAAA8gCTPKNiTJMcpCCN_7iCzIdOsh"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# Our security address
Contact: security@healthengine.com.au

# Our PGP key
Encryption: https://healthengine.com.au/pgp-key.txt

# Our security acknowledgements page
Acknowledgements: https://healthengine.com.au/hall-of-fame.html

# Verify this security.txt file
Signature: https://healthengine.com.au/.well-known/security.txt.sig 1
Contact: mailto:security@diia.gov.ua
Preferred-Languages: en, ua
Canonical: https://diia.gov.ua/.well-known/security.txt

 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">thewebhospitality.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Lc5vLEZAAAAAJHn93stPtYOaOOWe8Xt7Qlv6ANE"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: security@philo.com
Encryption: https://www.philo.com/.well-known/pgp-key.txt
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">makeit-loveit.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfK4tMZAAAAABsQSVKm3ohXwJCsTArVgbjUpRFA"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# Please report any security issues using the following information:
Contact: https://www.komplett.se/kundservice/Kontaktformulaer
Preferred-Languages: no, se, dk, en
Hiring: https://www.komplettgroup.com/en/vacant-positions/
 1
Contact: security@saxobank.com

Policy: https://www.home.saxo/legal/vulnerability-disclosure-policy/vulnerability-disclosure-policy
Encryption: https://www.home.saxo/-/media/files/security-pgp.txt
Signature: https://www.home.saxo/.well-known/security.txt.sig

 1
{"code":"1", "description": "Not Found", "contacts":"Zamba VCCorp"} 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">todohemp.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">appstunes.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
#Thank you for helping improve security at Exact!
#Please report security findings via email
Policy: https://www.exact.com/information-security/responsible-disclosure
Contact: mailto:responsible-disclosure [at] exact [dot] com
Preferred-Languages: en, nl 1
Contact: mailto:security@startmail.com
Encryption: https://www.startmail.com/.well-known/security@startmail.com.pgp-key.txt
Encryption: openpgp4fpr:D7A1898F41A45AE3F213AF811BFAD38900DCC223
Preferred-Languages: en, nl, de
Canonical: https://www.startmail.com/.well-known/security.txt
 1
Contact: admin@privacytools.io
Encryption: https://www.jonaharagon.com/keys/
Preferred-Languages: en
Canonical: https://www.privacytools.io/.well-known/security.txt
Policy: https://github.com/privacytools/privacytools.io/security/policy
 1
Contact: zdi [at] trendmicro [dot] com
Encryption: https://zerodayinitiative.com/documents/zdi-pgp-key.asc
Acknowledgements: https://zerodayinitiative.com/advisories/
Policy: https://zerodayinitiative.com/advisories/disclosure_policy
Signature: https://zerodayinitiative.com/security.txt.asc
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cia20online.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: https://www.telefonica.de/responsible-disclosure.html
Acknowledgments: https://bugcrowd.com/telefonicavdp
Preferred-Languages: en, de
Policy: https://bugcrowd.com/telefonicavdp
 1
Contact: https://www.thg.com/security-issues/ 1
Contact: cert@wien.gv.at
Contact: +43-1-4000-71112
Contact: https://www.wien.gv.at/english/administration/ict/cert.html
Encryption: https://wiencert.at/asc/pgpkeys.asc
Disclosure: None 1
Contact: security@ifit.com
Canonical: https://www.ifit.com/.well-known/security.txt
 1
# Our security address
Contact: lukas@unknownworlds.com
 1
Contact: mailto:security@papercut.com
Encryption: https://www.papercut.com/.well-known/openpgpkey/hu/t5s8ztdbon8yzntexy6oz5y48etqsnbb.txt
Encryption: https://www.papercut.com/.well-known/openpgpkey/hu/t5s8ztdbon8yzntexy6oz5y48etqsnbb
Acknowledgments: https://www.papercut.com/solutions/security/report/
Preferred-Languages: en
Hiring: https://www.papercut.com/about/life-at-papercut/
OpenBugBounty: https://openbugbounty.org/bugbounty/PaperCutDev/
 1
# If you would like to report a security issue
# You may report it to the National Bank of Belgium
# Preferably by e-mail
Contact: Responsible Disclosure Security issue
Contact: mailto:servicedesk@nbb.be
Hiring: https://jobs.nbb.be


 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">viagrasupertreat.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfVovUZAAAAAAj673I9B35MkfEuPxgSpZTsb4Es"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:security@copyleaks.com
Encryption: https://copyleaks.com/pgp.asc.txt
Preferred-Languages: en
Canonical: https://copyleaks.com/.well-known/security.txt
Hiring: https://copyleaks.com/jobs 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">untan.ac.id</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cannabisoil2018.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:security@enartia.com
Preferred-Languages: en,el
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360 &amp; Provided by <a href="https://www.plusplushosting.net">PlusPlusHosting.Net</a></span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">www.henrymakow.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Lch3KYZAAAAAFLHfg8Cw31X-U3edKZWZwZPyrvJ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: https://www.pmwiki.org/wiki/PITS/NewIssue
Preferred-Languages: en, fr, bg

 1
Contact: securityreports@knuddels.de
 1
Contact: mailto:security@evt.com
 1
Contact: mailto:csirt-notify@datto.com
Encryption: https://datto.com/pgp-key.txt
Policy: https://dat.to/vdp
Hiring: https://dat.to/infosecjobs
Expires: Sun, 1 Jan 2023 00:00:00 -0500
 1
Contact: mailto:security@pentestpartners.com
Contact: https://www.pentestpartners.com/contact-us/
Preferred-Languages: en
Hiring: https://www.pentestpartners.com/about-us/careers/

 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Contact: security@platform.sh
Policy: https://platform.sh/tos/#section-10-disclosures-and-notices
Encryption: https://platform.sh/pgp-key.txt
Preferred-Languages: en
Canonical: https://platform.sh/.well-known/security.txt
Hiring: https://platform.sh/company/careers/
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5jbHWe84feywyS1nJoRHdcc8zXEFAl3zhfQACgkQJoRHdcc8
zXEa7g/7BAGTEiU3K9i3i8LSo/seweAu1wLmOBfz/UkdWF5azLOMHH0YUcjsNTx4
+bwJA3HLl7VSc/zcl7lMT2vBY/IsnCFFiRMm+IC4cOXnNvD0GytOX2f3GHBs2+Pk
sdPgqGva7ivlTJ3++hijEXG1CSm76WlQTunTWzlxErO5AezuzRxBpG6+a2g2y71C
059Ih234pxSCBhxSD13DnqeouIHOEYQT419gQwAtERN1pOCI9dP5hxnZ92+s5LvM
/XwFvSAymRmbl53Mxf1DuKj9NPIEwMovSMavJarn6LLD1tPc5jd4a0N0O/nFszRP
YivNnaGV2cBs04qR+wcoeS+WzCxDObfvo4ddffYm4TadKqJ75g7xnIpxy5b0Bbee
PZfPIUQP8/cAE3okl4haW+zd+klNZabbKtgVZ1VPlC9zusn24FNv0lhNBH6eSVOo
tKmUfmtkfEGfV0vT8fZehJJSqBu+vfzKu3Y68mNyj6t4+zcMcNhHnhIE9U3rviQn
NFYLv340DGQVIudDDIK3OYL2327J0apS0sHYGvwKSoT2eFmFYMgzMD/Dprp9xqb1
ohQ1q9I+qv02+zWLbr30GzPrVjkGRiDPgUNJjd/lv7WLwVldylhhbbbiRjrwvtA7
Xchayxu+yUi3nWC4rPhF1agtGqWgu7Gu1C4e//fz/DoOljNaZOg=
=RUPb
-----END PGP SIGNATURE----- 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Contact: mailto:mail@fragdenstaat.de
Encryption: https://fragdenstaat.de/impressum/#pgp-key
Preferred-Languages: en, de
-----BEGIN PGP SIGNATURE-----

iQJJBAEBCgAzFiEEftxoR+5CfVf4V262FCAnyWM+ugwFAl750K8VHG1haWxAZnJh
Z2RlbnN0YWF0LmRlAAoJEBQgJ8ljProMsMEP+wQbmONOnonqhj9iAZ347oaU6FzA
/9NvlQgcTnlokUBhxueNugkbhHIYjKuDKHtdQ6omFkcOeOeWQBD8+ic3f3Z9CFIa
WN/iWqMehMeYS7XP591DURixwKWwfZyl44IsuD/JfxfZn0blmz3s5TfNpNRHvFno
rhMC7MwB0RKrrh34Px1/dE7IyGuoo+KYKxXDbqsB0C0ycPQ8i+zs7DnzZo+dxOvH
/mfLwEdmi7RU3f27sx7zQHLOqX/+V31DyyGQk9GCSAl5PfES7IDtypwKAVNb/R2F
lfu4pQggMFeeF25LJzVANeN/pGM9Pl2dPyYr4Nr0TpdyQsl+LDwm9FHTl+hVLl7m
F2E4Uofo2Krxf+SR5zKQxeH++Pi5tc1V8TgHMbR1z0umSPQw/WISrWg2VQ1ZjCl9
jZNse73zMzYkiEdNUdn54xfctu8RPUuYvsuGU6Ka00rxr0O+GQGMFPoWoHdOymI+
NgJIWNcJvKTz9IIRrO0lxDIi1ORoAKEoHkpjMQ4wYr79GeCekfP/7uiBbHUDRxSL
bzt4p2s9WsruBplTpNZXAs5fJ6GS0mJG07xbINwLTtn8UUu6+yq02A/dbSgFAVhZ
6WcA1XRrMsSbKFEhlQExO6Op2Vfd++Fxgl8byvrzDaPlUcY7nnXS9JlySL17Z8BL
O+z7V/A3EaXMrXb4
=oagQ
-----END PGP SIGNATURE-----
 1
#    _        _              _    _  ___     
#  _| | ___ _| |_ ___  ___ _| |_ <_>| | '_ _ 
# / . |/ ._> | | / ._>/ | ' | |  | || |-| | |
# \___|\___. |_| \___.\_|_. |_|  |_||_| `_. |
#  "Pool on the roof must have a leak." <___'

# Reporting
Security-page: https://detectify.com/responsible_disclosure
Contact: disclosure@detectify.com

# Scope
In-scope: *.detectify.com
Out-of-scope: blog.detectify.com
Out-of-scope: labs.detectify.com
Out-of-scope: support.detectify.com
Out-of-scope: career.detectify.com 1
Contact: https://openbugbounty.org/bugbounty/KelvinLomberg/
OpenBugBounty: https://openbugbounty.org/bugbounty/KelvinLomberg/
 1
Contact: mailto:tech@daisycon.com
Preferred-Languages: en, nl
Hiring: https://join.linehub.com/
 1
Contact: security@emilyslist.org
Encryption: https://keybase.io/msager
Preferred-Languages: en
Canonical: https://www.emilyslist.org/.well-known/security.txt 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">karanpc.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:IT-Sikkerhetsgruppe@nrk.no
Preferred-Languages: no,en
Canonical: https://p3.no/.well-known/security.txt
Acknowledgments: https://info.nrk.no/hjem/responsible-disclosure-policy/#security-hall-of-fame
Policy: https://info.nrk.no/hjem/responsible-disclosure-policy/
 1
# If you would like to report a security issue
# you may report it via the email address below
# please note the address is base64 encoded to reduce spam

Contact: c2VjdXJpdHlAYm1pZ3JvdXAuY29t
Encryption: https://www.bmigroup.com/pgp-key.txt
Preferred-Languages: en 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cannabiseducationcentre.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:security@sharesies.co.nz 1
Contact: mailto:security@lisk.io
Preferred-Languages: en
Policy: https://lisk.io/bug-bounty-program
Hiring: https://lightcurve.io/careers
 1
Contact: security@base.com
OpenBugBounty: https://www.openbugbounty.org/bugbounty/kevinBaseCom/
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">blazinghotcasino.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Ld55NoZAAAAALxD_DeEKQcLc40jWSV1DMCOIgaX"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ads1games.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">nothcproducts.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">slotxogame88.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: vulnerability@unit.no
Encryption: https://keybase.io/unit_irt#show-public
Preferred-Languages: en
Canonical: https://www.unit.no/.well-known/security.txt
Hiring: https://www.unit.no/jobb-i-unit
 1
# How to report security vulnerabilities to VRT (Vlaamse Radio- en Televisieomroeporganisatie)

# Report security vulnerabilities to this address. Please read our responsible disclosure policy
# before researching and before reporting any security vulnerability.
Contact: mailto:infosec@vrt.be

# Please encrypt your message if it contains sensitive information
Encryption: https://www.vrt.be/.well-known/infosec_at_vrt.be_pgp_pubkey.txt

# Disclosure policy. Please read before researching and/or submitting.
Policy: https://www.vrt.be/en/responsible-disclosure-policy-english-version/

# We recognize security researchers for their reports. With their permission, they will be listed
# on this page.
Acknowledgements: https://www.vrt.be/nl/info/responsible-disclosure-policy/responsible-disclosure-hall-of-fame/

# See https://securitytxt.org/ for the specification of the security.txt file format.
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">coinpayz.xyz</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:cert@vinci.com
Encryption: https://www.vinci.com/publi/vinci/cert/public_key_vinci_cert.txt
Preferred-Languages: fr,en
Policy: https://www.vinci.com/publi/vinci/cert/index-en.html 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">genericialis20up.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LeS5NoZAAAAAA8gCTPKNiTJMcpCCN_7iCzIdOsh"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: Petr Zdansky (petr.zdansky@peckadesign.cz)
Contact: PeckaDesign support (support@peckadesign.cz)
Contact: Jan Kopcok (kopcok@nay.sk)
 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

# Canonical URL
Canonical: https://ulvis.net/.well-known/security.txt

# Our security address
Contact: security@ulvis.net

-----BEGIN PGP SIGNATURE-----

30 46 02 21 00 9B E9 7F 1D CD 7C D2 E3 4F 6C 94
E3 82 BC F7 AF B3 33 C6 EB A6 8E 86 B9 EC AB A2
C5 91 28 1A B7 02 21 00 E5 AC FE 23 FA D5 DD D5
43 0F E8 50 AD 76 0D AB 8F F5 28 9F 00 4A E1 9E
5D 29 AA 31 9A DB 68 08

-----END PGP SIGNATURE----- 1
Contact: security@qonto.eu
Encryption:
----BEGIN PGP PUBLIC KEY BLOCK-----
mQENBF8F4KIBCADW0tGjRS0tCuj3W0xNG2kS6h5Cxl8y3C7SlkCvyfY0XwgPDsBP
MrkqEPU2lavhBuQEQxYh4Ni9fN+Up/W6URfauH45sL3OJCP/ute4bWOBLSGZpoow
vjyZBG22/nBX9IaTuI1J6Iusc8GKMP70z5+3WNAKYvufTJZAV2WI11RzzFKjNst2
IJSo6RDm0rQJs1g4tAzLXf+QQAn3mTLS9A4qhU9rJsZ5iHfJbSf2qfXEybRwPwAp
fNlr2oRvuFVihzbcRuSpcsNdZMbXinh08Zs7Zb5tgYV6tg5MZyIEciJts7r8ueqc
NuJdyAbgmI9pZvF/cI6sc2Jicj/FxADmPmPXABEBAAG0IlFvbnRvIHNlY3VyaXR5
IDxzZWN1cml0eUBxb250by5ldT6JAU4EEwEIADgWIQRGi+8Y4emnqIQlgdLV92O2
86Kk9QUCXwXgogIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRDV92O286Kk
9fPICACAU+LBmkHZx0CqnlRUlUwNziOKcgMobhL6vCWDo7AjZHgHdoloHSaC6bfO
fFii9WIVvT7bc/so+PswLViXgbSj248InIRrAhVteBJs5mX6J6eqlLffPzZ50R9w
hVGGhEaOhaD2Vy2Vg17Zt4s4NFxZqwCJ+byUZcEZehIQddFDqRwVs60Dnma+J/PL
k4IIEBFuvzr+GqVS8SjeaNGeYMgS3Vbz5h/o39YaJZXek+CNORj2Ra7r4XkgEbgi
hYn1nF3A7SssIHbct/VntAydfFQwjqvmkxRSqOb0Rjm0VpmkIMiQdbNgAapSbZhB
4neNbAdSHkUNKvZVyfsVAvppcc5wuQENBF8F4KIBCACxgy/ISren80gFRc7lMqBQ
jZ0vOHEmKRbUHSr0KtSnKkQByDIjpq/e2FK46hw8fJqLwy0hnS4k9BSx5yrs1EAd
w3URNtwNOwjUy95QD2rwG8xE8NY/uSj4v3wy9PYuzi6ysEZvopgMYquIWrTeb5JE
wbWVihctrmy+vJIstBi30qsRGc4bnZrGQN1HGdUCdxyuLOU2kZAavK+cgjHdFzT4
qiyxAqetVds9M0l1xLRqsQRcppH4P8TeCycMJthdqgSe9+JJ65f0IG8y4Gn5wEUR
MGhTyr2ti0rDEL3AX2f4GbTger35keB5PAHtxyzaKAWU01S4+NgyL1h0mJS52QtJ
ABEBAAGJATYEGAEIACAWIQRGi+8Y4emnqIQlgdLV92O286Kk9QUCXwXgogIbDAAK
CRDV92O286Kk9WuNCACb2UJOhiyqxXGpdocy4trUsgFe3tg2h2N0oAWtiBP29MKh
rNmuMkdF4bXnSMWCaPyaV0eg07Bt8Gpwco6Ph91RP+lyY3+0aBPzzyd6a2y2Fd6t
Sd4l/QqDSArv7fTj+nKA/Ep+BPuliLT/drGuWjXOJ1kg/kf4Owf4yNil6RQ+jOGp
5lKFWSAYUVfOvzBdiPo8EshVKaMvgeswK0GM32eFAO4ZAqZuMq/DDEAO7lDzYrrl
NJF+bDmQn0+yPlnNyt0UCvUeVcyFQWvesXDOqNSDYdivxDb5sT/NVSmi8c4Gp2kC
7Sfp/68u3L5pOn2o91E5vChkuyPCYYmlnFAh431F
=cwby
-----END PGP PUBLIC KEY BLOCK-----
 1
# Our security address
Contact: mailto:security@netservis.cz

# General address
Contact: mailto:info@netservis.cz

Preferred-Languages: cs, en
Canonical: https://www.nm.cz/.well-known/sercurity.txt
Hiring: https://www.netservis.cz/kariera/
 1
Contact: cyber@prg.aero
Preferred-Languages: cz,en
Hiring: We Are Hiring 1
# If you like to report a vulnerability on any of our products, please use our bug bounty program at HackerOne.
# For reports regarding our website or other organization assets please use the mail address.

Contact: https://hackerone.com/open-xchange
Contact: mailto:security@open-xchange.com
Encryption: https://keys.openpgp.org/vks/v1/by-fingerprint/480B49CD0922FA6A13CF9305961459F129176EAF
Preferred-Languages: en
Canonical: https://www.open-xchange.com/.well-known/security.txt
Policy: https://hackerone.com/open-xchange
Hiring: https://www.open-xchange.com/about-ox/career/working-for-ox/
 1
Contact: mailto:security@amateri.com
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">majesticaussiepuppies.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: https://tidelift.com/security
Contact: mailto:info@projectlombok.org
Preferred-Languages: en
Canonical: https://projectlombok.org/.well-known/security.txt
Policy: https://tidelift.com/security
Policy: https://github.com/rzwitserloot/lombok/blob/master/SECURITY.md

# If encrypted communication is required, let us know and we'll provide a public GPG key. 1
﻿Contact: mailto:it.security@puregym.com
Preferred-Languages: en
Canonical: https://www.puregym.com/.well-known/security.txt
Encryption: https://www.puregym.com/securitykeys/securitypublickey.txt
Hiring: https://www.puregym.com/careers/
Hiring: https://stackoverflow.com/jobs/companies/puregym 1
Contact: mailto:vyvoj@kupi.cz
Hiring: https://www.kupi.cz/kariera 1
# If you would like to report a security or privacy issue,
# please contact us directly.
Contact: security@duolingo.com
Policy: https://www.duolingo.com/privacy
Hiring: https://www.duolingo.com/careers
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">sportsbettingph.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Ld55NoZAAAAALxD_DeEKQcLc40jWSV1DMCOIgaX"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: https://www.comics.org/contact/
 1
Contact: mailto:security2020@hackerfactor.com
Policy: http://fotoforensics.com/faq.php?show=Security
# The badbot link will result in an immediate ban; it is used to discourage spam bots. Humans should not click on it (because it will ban you).
Badbot: https://fotoforensics.com/badbot-security.txt
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cannabidioloilbenefits.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">tokidia.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: https://ctftime.org/feedback
Contact: mailto:info@ctftime.org
 1
Contact: security@mollie.com
Encryption: https://www.mollie.com/security.aexpk
Policy: https://www.mollie.com/en/responsible-disclosure
Signature: https://www.mollie.com/.well-known/security.txt.sig
Hiring: https://jobs.mollie.com/
 1
#
# SECURITY.TXT for Nickel
# https://securitytxt.org/
#
# If you would like to report a security issue
# please contact us by email :
Contact: csirt [at] compte-nickel.fr
Hiring: https://nickel.eu/fr/recrutement 1
Contact: https://datenschutz-hamburg.de/security
Preferred-Languages: de, en
Canonical: https://datenschutz-hamburg.de/.well-known/security.txt
Encryption: http://hmbbfdi.de/assets/misc/pgp-schluessel-hmbbfdi.asc
Signature: https://datenschutz-hamburg.de/.well-known/security.txt.asc 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Contact: mailto:security@omr.com
Encryption: https://omr.com/pgp-key.txt
Preferred-Languages: en, de
Canonical: https://omr.com/.well-known/security.txt
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEEwG4zi8fB9G2+kmkh1T/4TpGWPcFAl9pvccACgkQh1T/4TpG
WPdkRA/7BrmtsRpHniOZ4OvR4RLuaEM63AEjdg7El9QQ2HQkc7xH/E6Ni5XE2HOL
52jc6AU2qo8f7u+pmFN0nnXqLL6kGqLeZ8pQvCTk3a93AU/w+/2RVD2JSCdFRsCk
j4kX13PfUvTKBOhGPet+bHjkNuUjUlwztMJkETIf5sF1LdWV+vOSHQFw3VXK7Uzj
WIr+2cPe2ojvTBhGKp1MnsYgFCI0Uhmy1VTru9okZB+Ny1mEfEW/rGKMGfbZeeME
oQX5cUkfKmG/IjLywuzDem7JLm/BXPBP/znvt4ofEWhUBoGF1a3oscf34NCMPzPu
W+LGmCpeLjfbfgrOjfN5lxCAHa7MgR8kr28ZiNKf2hZ2lH9fpZolTzeWOwuCfGUL
paMnKsOXsOzM0r2AbVpq5Dx72/Kn8uaZ63WizCg7PIwf11u6aBErUsxB5L4nMGdk
bfq55hmG2M/YVfqUUdbzDioicYPvdphiOldK+MSIY7IQ/wbV1zUtAGE073z6flm4
HhbTWfWSDQ1ANeoaCtT5w7Z/R+lXzngW6OQIwmXsAKLr5E0rAJY0DqBtO/2p1bc/
Xe7ggFCH8a82tREhJA19Aw+/2ZMHrLQL92lobh9wtLwYb+i39RwPnv8uDAnt0oV0
y+ehmSolaTt3UlbNPa7C2MeUfI3KL6QTBOMsW0Hib0qx+1eJ8J8=
=xHuk
-----END PGP SIGNATURE-----
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">travira.ru</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:security@enartia.com
Preferred-Languages: en,el 1
Contact: mailto:security@etnetera.cz, jirovsky.vaclav@o2.cz
Encryption: https://www.etnetera.cz/keys/security.etnetera-pubkey.asc
Acknowledgements: 
Policy: 
Signature: 
Hiring: https://www.chcidoo2.cz/marketing-and-online/
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">irs.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: security@termius.com
Encryption: https://termius.com/.well-known/pgp-key-D8E58228.asc
Canonical: https://termius.com/.well-known/security.txt.sig
 1
The City of Longmont does not have a bug bounty program
Contact: security@longmontcolorado.gov
Acknowledgments: https://security.longmontcolorado.gov/acknowledgments.txt
Preferred-Languages: en
Policy: https://security.longmontcolorado.gov/SecurityPolicy.pdf 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">xpblogger.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
  <head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <title>IRWIN | Page Not Found</title>

  <style type="text/css">
    body {
      font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
      padding: 0;
      margin: 0;
      text-align: center;
	  background-color:#ffcc00;
    }

    h1 {
      margin: 20px;
    }

    a {
      text-decoration: none;
    }

    .link-txt {
      color: #003366;
      transition: all 0.5s ease;
    }

     .link-txt:hover {
      color: #2b56a6;
      text-decoration: none;
    }

    .link-txt::after {
      content: "\00a0\2192";
      left: 0;
      position: relative;
      transition: all 0.5s ease;
    }

    .link-txt:hover::after {
      left: 5px;
    }

    /* HEADER */

    .header-page {
      background: #003366;
	  height:120px;
    }

    /* MAIN SECTION */

    .section-main {
      align-content: center;
      align-items: center;
      display: flex;
      justify-content: center;
      flex-direction: column;
      padding: 5%;
      height: calc(80vh - 100px);
    }
  	h1 {
		font-size:10em;
		line-height:.75em;
		color:#003366;
		margin:0;
	}
	h2 {
		font-size:3em;
		line-height:1em;
		color:#003366;
		margin:.5em 0;;
	}
	p {
		margin-top:0;
		color:#003366;

	}

  </style>

  
</head>
  <body>
    <header class="header-page">
      <a href="/default.aspx">
        <img src="/404/irwin-404header_logo.png" />
      </a>
    </header>
    <section class="section-main">
      <h1>404</h1>
      <h2>Page Not Found</h2>
      <p>The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.</p>
      <a class="link-txt" href="../../default.aspx">Go To Home Page</a>
    </section>
  </body>
</html> 1
Contact: security~AT~fintual~DOT~com
Canonical: https://fintual.com/.well-known/security.txt
Encryption: https://fintual.com/pgp-key.txt
Acknowledgments: https://fintual.com/hall-of-fame.txt
Preferred-Languages: en, es
Policy: https://fintual.com/security-policy.txt
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">movietrailershd.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">dogemarket.biz</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: security@gitpod.io
Preferred-Languages: en, de
Canonical: https://gitpod.io/.well-known/security.txt
Hiring: https://typefox.io/career
 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

# If you would like to report a security issue
# you may report it by using the following informations
Contact: security@lametro.fr
Preferred-Languages: en,fr
Canonical: https://www.grenoble.fr/.well-known/security.txt
-----BEGIN PGP SIGNATURE-----

iQGzBAEBCgAdFiEELjDLUmslQfXFKtZUth41SXzjKYEFAlzbxh4ACgkQth41SXzj
KYGVlwv+LkSybsT+ctvjLPinCRUUiI9Y8aQBlAhQpNOTXXnlYirk1uiMMa6d5DCo
/z+SVdPN4XPJZwqLp0+vAALgXDoKhn6fwt54bxHX8aigrS1obBU97wVZD7Q0Qna0
S/fVAGq14f6sEi2sY+htgHlSdThs5wUZD31St9oDK7GKb5JqqFLzUJYF33BjqTVH
sY2ODZcq4NFhFxeYCxfrKhZuUZK9rCGZco6udC8Na3GT++kiEMjND7GIa2gnN7gz
msRbtzz8NpQZEyPb2e3VHuGVvs+LlCfe98/xiXsEkQlKmQgB3OnVevCuleLATjmr
MKR65hwnMcDR88K1o9S5V5vHJMqL4Ax7VftWWghuup/Ad5zR4JIjVMaiPbhZVZBW
YcYbAkpGbIdZfoQMo5+j29DougGEBucTOjgTjXHY0/73i0euWS0cPC/8d+k9Ko/p
zCBV6+ySE88uMXSRSF8xSxJGBStDdLwR+H6uyPM9kK5dE7JknQDDL7lUK/5E1X0C
lPOlrCQk
=yU/6
-----END PGP SIGNATURE-----ATURE----- 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">calatrava.com</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">topseo.tools</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:infosec@wandera.com
Privacy Policy: https://www.wandera.com/privacy-policy/ 1
# In scope targets
In-scope: *.domainesia.com

# Out of scope targets
Out-of-scope: DNS alias on *.domainesia.com to third party services, e.g.
- myid.domainesia.com
- dns1.domainesia.com

# Out of scope vulnerabilities
Out-of-scope-vuln:
- Clickjacking
- Social engineering
- Denial of Services
- Brute force
- Rate limiting issues
- Self XSS

# Our security address
Contact: abuser@domainesia.com

# Our bug bounty program
Contact: abuser@domainesia.com

# # Terms
# - Currently, we only process high-impact security vulnerability, due to our workload.
# - Do not exploit a security issue you discover for any reason other than for testing purposes.
# - Testing security issue must not cause disruption and privacy violation to our customers and our services.
# - We give money reward, discount code, or account balance with the amount based on the security impact to our business and your report quality.
# - We do not process duplicate reports, including from prior internal investigation.
# - Upstream softwares issue is out of scope, unless it's caused by misconfiguration.
# - You give us reasonable responding and fixing time before publicly disclosing our vulnerability.
#
# Violation to our terms will nullify you from any reward.
 1
Contact: https://www.bed-and-breakfast.it/supporto_ticket_nuovo.cfm?idfaq=0&locale=en 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mo-basta.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">sexybet99.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Ld55NoZAAAAALxD_DeEKQcLc40jWSV1DMCOIgaX"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">jaryan.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: https://www.axelspringer.com/en/cyber-security
Contact: mailto:security-incident@axelspringer.de
Hiring: https://www.spring-media.de/en/front-page/#jobs 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Contact: security@shedul.com
Encryption: https://www.shedul.com/pgp-key.txt
Preferred-Languages: en
-----BEGIN PGP SIGNATURE-----

iQJIBAEBCAAyFiEEyMugj/12fQK5pfuAd5SpWhbn6xEFAl2pmMYUHHNlY3VyaXR5
QHNoZWR1bC5jb20ACgkQd5SpWhbn6xEzXRAAnW/hFp8BHArCcfIhtcMMmn1A4u47
nIM5WCzGntMtCTLTIpwmjejln8Xi/TI3yuh1JwCCYypQ9cKp/vZq3A8Mz+2dCGRn
lutnySYS7GTC+EPecQsU8tvcALCzO/muNwInvpQ4kcJViR70obWikX9yObJP30i8
kZbYaQ734oHeo1ZIBOr+ACIKollgmq8hgKTJaiHfsBAEwJsWHJNgaxW9nJLMR/fR
GBtH6JOb2flXIsFLVhgfmdjNtlhYzwucRlO+QZn+xoiSRW134EgbWicdwQ71dolV
PWaNYPCZo75yidxhpt1y+iopAJl1N6IGcnXquOylDWCqnHqCC01g0/gdvfPjcCwL
nEsSaHUzk+dvUQ4TlnmdSzXfyRCTADPhor/HMKj6zSz1NPO/Is/zy6RxTlphE+lL
9bNer4K4kGKFrvAiRiy8LKbmF7AiVqv7xVGcTcYilZ5b3/DwtFV2k+Atx/7aMmKr
KeJHc2IfpsROdRaX21HP0BAB2Q00BMYjUF4hJqPMSuzvcUx8kr2Wmr557YJOtXOj
EgABZEzpKjE5PUoov6se2F3n3yW13UsBBnj4bx7F56U5f5E3HnNSRmY3U+fwIsOn
hFAqkSEkjTH5xiXutc7DkcHzGjn/FcYIy0hovC3a/RK3OOOzkHeQDCbYb5M/Nzm0
snIruHgpQHMwN64=
=PIpP
-----END PGP SIGNATURE-----
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">giveme5.pk</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">webmail.live</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">abstergo.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: https://hackerone.com/flat_io
Contact: mailto:security@flat.io
Preferred-Languages: en, fr
Canonical: https://flat.io/.well-known/security.txt
 1
Contact: mailto:security@asapp.com
Preferred-Languages: en, es
Hiring: https://www.asapp.com/careers
 1
Contact: security@thehighwaystar.com
Encryption: https://www.thehighwaystar.com/security@thehighwaystar.com.pub
Signature: https://www.thehighwaystar.com/.well-known/security.txt.sig

 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mentq.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">yeezyboost-350.co.uk</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">geoversum.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mybrest.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">adidasiniki.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">vika-service.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">www.adzone.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">truenews.lk</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto: web@airbank.cz
Contact: mailto: itsecurity@airbank.cz
Contact: mailto: security@siteone.cz
Preferred-Languages: cs,sk,en
 1
Contact: mailto://security@edumoov.com
Contact: https://www.edumoov.com/contact
Preferred-Languages: fr, en
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">onliner.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">lishiquwen.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: security@clamxav.com
Encryption: https://clamxav.com/.well-known/security@clamxav.com_16-10-20.asc
Policy: https://clamxav.com/.well-known/vulnerability_disclosure_policy.txt 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">holidayrentallorgues.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: developers@billiger-mietwagen.de
Contact: admin@billiger-mietwagen.de
Preferred-Languages: de, en
Canonical: https://www.billiger-mietwagen.de/.well-known/security.txt
Hiring: https://www.billiger-mietwagen.de/unternehmen/karriere/
 1
Contact: mailto:lukas.zemek@lmc.eu 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">viagracanadanews.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LeS5NoZAAAAAA8gCTPKNiTJMcpCCN_7iCzIdOsh"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact:  responsible-disclosure@bankid.com
Encryption: https://www.bankid.com/assets/bankid/pgp/pubkey.asc
Policy: https://www.bankid.com/disclosure 1
﻿Contact: https://www.sublet.com/contact
Canonical: https://www.sublet.com/.well-known/security.txt
Policy: https://www.sublet.com/privacy-policy 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mrchecker.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">movie2film.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:security@caretobeauty.com
Preferred-Languages: en,pt,pl
Canonical: https://www.caretobeauty.com/.well-known/security.txt 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">c-ut.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Canonical: https://www.expressvpn.com/.well-known/security.txt

# Bug bounty program
Contact: https://bugcrowd.com/expressvpn
Contact: https://www.expressvpn.com/bug-bounty
Acknowledgments: https://www.expressvpn.com/bug-bounty/acknowledgment

# ExpressVPN security team
Contact: mailto:security@expressvpn.com

# For free trial abuse, support issues or any other questions,
# contact our support team
Contact: mailto:support@expressvpn.com

Hiring: https://www.expressvpn.com/jobs
 1
Contact: support@atomicorp.com
Preferred-Languages: en
Canonical: https://www.atomicorp.com/.well-known/security.txt
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">allmonitors24.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfgaMMZAAAAAF0FBvys9WtIUdh7gfWnqH2C4vFI"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">nike-airmax-pas-cher.fr</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cialisuuqa.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">thegreggjarrett.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfK4tMZAAAAABsQSVKm3ohXwJCsTArVgbjUpRFA"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">viagraonline-sale21.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: info@whatsnewonnetflix.com
 1
404 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bhorerkagoj.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# Our security contact address
Contact: mailto:cybersecurity@missguided.com
# Our PGP key
Encryption: https://www.missguided.co.uk/publickey.txt
# Our responsible disclosure policy for vulnerabilities
Policy: https://www.missguided.co.uk/responsible-disclosure
# Our live vacancies
Hiring: https://www.missguided-careers.com/jobs
 1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html>
        <head>
            <title></title>
            <meta name="description" content="">
            <meta name="keywords" content="">
            <meta name="generator" content="ORT - Ovh Redirect Technology">
            <meta name="url" content="http://www.photofiltre-studio.com/.well-known/security.txt">
            <meta name="robots" content="all">
        </head>
        <frameset rows="100%,0" frameborder=no border=0>
            <frame name="ORT" src="http://www.photofiltre-studio.com/.well-known/security.txt">
            <frame name="NONE" src="" scrolling="no" noresize>
            <noframes>
                <body><a href="http://www.photofiltre-studio.com/.well-known/security.txt">Click here</a><hr></body>
            </noframes>
        </frameset>
    </html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ingoalmag.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">onlinecasinolime.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: webmaster@martinus.sk
Preferred-Languages: sk, cz, en
Canonical: https://www.martinus.sk/.well-known/security.txt
Hiring: https://www.martinus.sk/pridajsa 1
Contact: info@ren-it.net
 1
Contact: net.monitoring@lectra.com
Preferred-Languages: fr, en
 1
Contact: mailto:soc@isdin.com 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cialisactivesupers.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfVovUZAAAAAAj673I9B35MkfEuPxgSpZTsb4Es"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:security@sansiri.com
Hiring: https://career.sansiri.com
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ecocosas.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">truereligion-jeans.co.uk</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: admin@lifetips.com
Permission: none
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">healthcostinstitute.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by AMF Security</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">seotamam.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by AMF Security
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lcrs80ZAAAAAKLMdGKNXlRIcsOwbz4B4ha9hqCb"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">qcad.org</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">macmakeupuk.co.uk</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">portalmalaysia.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">achhikhabar.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">theiuexperience.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">seogroupbuy.io</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">sportsshow.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfVptUZAAAAAOvaoXsPq1q6y4G74qzSye-sl_c6"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">tommyhilfigeroutlet.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">thepcgames.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfVptUZAAAAAOvaoXsPq1q6y4G74qzSye-sl_c6"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cruzeirodovale.com.br</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LeXx7UZAAAAAFVM7W0M-PDpiaefSbL2slZi97Si"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ru">
    <head>		


<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<title>Сеть городских игр и игровое агентство Encounter / Страничка потерялась!</title>
<meta content="" name="description" />
<meta name="keywords" content="квест, схватка, городская игра, encounter, en, энка, энкаунтер, схватка, фотокросс, фотоохота, геокешинг, корпоративная игра, викторина, мозговой штурм, Страничка потерялась!" />
<link rel="shortcut icon" href='http://cdn.endata.cx/images/favicon.ico' />



<link href="http://en.cx/css/v2/en/cons/main.css?ver=1.88.0.0" type="text/css" rel="stylesheet" media="screen,projection"  />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript" src="http://en.cx/js/v2/cons/main.js?ver=1.88.0.0"></script>
<script type="text/javascript">
	//<![CDATA[
	var _gaq = _gaq || []; try { _gaq.push(['t0._setAccount', 'UA-1064087-1']);  _gaq.push(['t0._trackPageview']);  _gaq.push(['t0._trackPageLoadTime'])  } catch(err) {} 
	//]]>
</script>
<!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="http://en.cx/css/v2/en/lteIE7.css" /><![endif]-->
<!--[if IE 8]><link rel="stylesheet" type="text/css" href="http://en.cx/css/v2/en/IE8.css" /><![endif]-->		 
	

    </head>
    

<body class="not_found_error">	
	<div id="hideVisible"></div>
	<div id="itemInfo" style="display: none;">
		<a id="close"></a>
		<h1 id="title"></h1>
		<div class="scrollBox">
			<div id="pane" class="scroll-pane"></div>
		</div>
	</div>
	<div class="container">
		<div class="header">



<a href="/"><img src="http://cdn.endata.cx/images/v2/en/promo/encounter.png" alt="Encounter - международная сеть активных городских игр" title="Encounter - международная сеть активных городских игр" /></a>
<ul>
	<li><a href="/network/" class="">Cеть</a></li>
	<li><a href="/agency/" class="">Игровое агентство</a></li>
	<li><a href="/digital/" class="">Цифровое агентство</a></li>
</ul>

<div class="nav">


 
</div>		</div>
		<div class="content">
			

<h1>Страничка потерялась!</h1>



<p>А может быть её никогда и не было! Но если вы уверены, что такая страничка была, и она вам непременно нужна, <a href="/home/contacts/">обратитесь к нам</a> - может быть, мы сможем чем-нибудь помочь.</p>			
		</div><!-- /content -->
		<div class="footer">			
			<p>© Encounter, 2004-2017
                            
                            </p>
			
		</div><!-- /footer -->		
	</div><!-- /container -->
    <!-- en.cx only -->





	

	<script type="text/javascript">
	//<![CDATA[
	
	(function () {		
		var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
		ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';		
		var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	})();
$.cookie('lang', 'ru', { expires: 365, path: "/" });
$.cookie('Domain', 'en.cx', { expires: 30, path: "/" });
	//]]>
</script>
</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">infotriumf.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: defend@digitexfutures.com
Preferred-Languages: en,ru

 1
Contact: it.security@dpdgroup.co.uk
Acknowledgments: https://hackerone.com/dpdgroup_uk
Preferred-Languages: en
Policy: https://hackerone.com/dpdgroup_uk 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">lifie.lk</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">karanpc-software.work</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: security@twosigma.com
Preferred-Languages: en 1
# If you would like to report a security issue
# you may report it to email-message
Contact: CyberSec@bcs.ru
Preferred-Languages: ru, en
 1
Contact: bugbounty@weareclario.com
Policy: https://hackerone.com/clario/
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">offshorecorptalk.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LdX7doZAAAAAKAlz4QrDnJAEa0UIcGY5z6s_cAZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
It looks like you are trying to access MongoDB over HTTP on the native driver port.
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">marcusschenkenberg.eu</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">myhempdeal.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: security@rewind.io
Encryption: https://rewind.io/wp-content/uploads/2020/07/rewind-security-pgp-pub.txt
Acknowledgments: https://www.rewind.io/vulnerability-disclosure-policy
Preferred-Languages: en
Canonical: https://www.rewind.io/.well-known/security.txt
Policy: https://www.rewind.io/vulnerability-disclosure-policy
Hiring: https://rewind.io/about/careers/
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">myadsite.in</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">tamby.info</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">santanisejahtera.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">premiumgreenoil.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: info@minnit.chat
Preferred-Languages: en 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">angoemprego.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:dhiraj@devglan.com

 1
Contact: developers@prosody.im
 1
# Security Contact Information for Website *.phzh.ch 
# Please report your findings to the following addresse
Contact: informationssicherheit@phzh.ch 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">blockchainreporter.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfEcMIZAAAAAKqyo0cQ89dnmm9NtMUg1QXIdOqk"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">modafiniloverthecounter.space</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LeS5NoZAAAAAA8gCTPKNiTJMcpCCN_7iCzIdOsh"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">missmoss.co.za</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Lcw474ZAAAAAADlHojwSS-DXmjNp70hsvJ32-dd"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:security@tjhsst.edu
Encryption: https://tjhsst.edu/security/public_key.txt
Canonical: https://tjhsst.edu/.well-known/security.txt
# Policy summary: Email security@tjhsst.edu and wait at least 90 days before public disclosure
Policy: https://tjhsst.edu/security/policy.txt
Preferred-Languages: en-US
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">plasticbank.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ciatrusstedonline.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LeS5NoZAAAAAA8gCTPKNiTJMcpCCN_7iCzIdOsh"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">osnipa.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">dakke.co</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcNPrQZAAAAAJ9Ix4PI0IYlDwa250ISvbp9VDBw"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:OfwatSecurity@ofwat.gov.uk
Policy: https://www.ofwat.gov.uk/vulnerability-disclosure-policy
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">dieantwoord.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: security@elvie.com
Preferred-Languages: en,de
Canonical: https://www.elvie.com/.well-known/security.txt
Policy: https://www.elvie.com/security-research-and-responsible-disclosure
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mediaatelier.com</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:wheel@ucc.gu.uwa.edu.au

 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">blogbox.be</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">allmusicalbums.host</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfhD_MUAAAAAPXEjfj8gRQ_4Tt4hQLFPvzAK5dI"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: security@storebrand.no
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cannabidioloilforpain.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: security@gotruemotion.com
Preferred-Languages: en, hu
Hiring: https://gotruemotion.com/careers/ 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">left4code.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">yetkinkontrol.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:infosec@nouryon.com
Contact: mailto:security@nouryon.com
Preferred-Languages: en, nl, de
Canonical: https://www.nouryon.com/.well-known/security.txt
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">sarhne.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">win133onlinecasinos.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Ld55NoZAAAAALxD_DeEKQcLc40jWSV1DMCOIgaX"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: news@emailSanta.com 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">arbormotors.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">katespadeoutlet-onlinestore.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Contact: mailto:security@xrptoolkit.com
Encryption: https://www.xrptoolkit.com/security-xrptoolkit.asc
Canonical: https://www.xrptoolkit.com/.well-known/security.txt
Policy: https://www.xrptoolkit.com/security
-----BEGIN PGP SIGNATURE-----

iI4EARYIADYWIQQNxblz8p6+AKK0mCtV2hDwP6BgjQUCXr05Dxgcc2VjdXJpdHlA
eHJwdG9vbGtpdC5jb20ACgkQVdoQ8D+gYI3imAD/W4S6sCo1P5qbdAuRFr+wQSNw
k/DWUzawo/2kavVIZHEBAJQPXDK4ZDGdRf+dHght0EESqO78YaYB7ntlTEsvxHMK
=ozkh
-----END PGP SIGNATURE-----
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">horsebetting.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">www.colnago.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">classifieds4u.in</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">advancemed.com.au</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeG6c8ZAAAAAMhbJzTx4oqf0zfXMr066Fr4hyoZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">nikeairmaxplus.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html>
        <head>
            <title></title>
            <meta name="description" content="">
            <meta name="keywords" content="">
            <meta name="generator" content="ORT - Ovh Redirect Technology">
            <meta name="url" content="http://www.r-graph-gallery.com/.well-known/security.txt">
            <meta name="robots" content="all">
        </head>
        <frameset rows="100%,0" frameborder=no border=0>
            <frame name="ORT" src="http://www.r-graph-gallery.com/.well-known/security.txt">
            <frame name="NONE" src="" scrolling="no" noresize>
            <noframes>
                <body><a href="http://www.r-graph-gallery.com/.well-known/security.txt">Click here</a><hr></body>
            </noframes>
        </frameset>
    </html> 1
Contact: security@kolonial.no
Preferred-Languages: en, no
Canonical: https://kolonial.no/.well-known/security.txt
Hiring: https://jobb.kolonial.no
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">whatmommydoes.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdUMfsZAAAAALA4iL5cot21gKs_5KCdV5AKCeOh"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bigdramas.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# If you would like to report a security issue,
# please email me at security@woke.id
# Thank you! 1
Contact: comments@digwebinterface.com

 1
Contact: mailto:support@secpoint.com
 1
Contact: mailto:contact@actu17.fr
Contact: https://actu17.fr/nous-contacter
Preferred-Languages: fr,en
Canonical: https://actu17.fr/.well-known/security.txt 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">uprint.id</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">buycial.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">internetbettingcasinos.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Ld55NoZAAAAALxD_DeEKQcLc40jWSV1DMCOIgaX"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">618media.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
{"content":[],"id":"EMPTY","name":"Empty"} 1
Your IP has been blocked, please contact support to update your IP range if this is incorrect, Country=Greece 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">christianlouboutinoutletstores.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">galaxy-training.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Lcf5NoZAAAAACNjsbr4mgYKrHWRX-TWEnRXuHe1"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: https://www.bigbluedoor.net/contact
Contact: mailto:security@bigbluedoor.net 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">katespadeoutlets.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
﻿# If you would like to report a security issue
# you may contact us by email.
mailto:technique@meilleureassurance.com 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">xn--80afhh0dwc.xn--90ais</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
1
Contact: mailto:mandrakis@gmail.com
Preferred-Languages: en, gr 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">endcoal.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfVLc0ZAAAAAE5hemLpuiNud2LhOZc-8SdVxyyR"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bonesmart.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
                1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">fxprosystems.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">adidasshoes.name</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">angola-online.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">onlyhgames.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">corzide.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">duplika.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LeReqoUAAAAAFLBuK6ojrpN5fnONFtfzqOrdnHk"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<CODE BEGINS>

#Vulnerability notification are well appreciated. Please have the 
vulnerability information registered on the Zerocopter Platform

Platform: https://app.zerocopter.com/rd/abb086df-1f96-4912-b046-b3396b4744d7

<CODE ENDS>
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ipay-agregator.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ralphlaurenpolooutlets.me.uk</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">usr.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cannabispot420.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Ld55NoZAAAAALxD_DeEKQcLc40jWSV1DMCOIgaX"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">webruz.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">seriesfilmestorrents.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: security@rajce.net
 1
Contact: mailto:security@123inkt.nl
Contact: https://www.123inkt.nl/action/contact.html
Encryption: https://www.123inkt.nl/.well-known/E41A216FC897617C05BF05DE2851D7065A17E255.asc
Preferred-Languages: nl, en
Canonical: https://www.123inkt.nl/.well-known/security.txt
Policy: https://www.123inkt.nl/page/responsible_disclosure.html
Hiring: https://www.123inkt.nl/page/werken_ict.html
 1
Contact: https://flagfox.net/
Contact: https://twitter.com/rleeden
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">buntube.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">vizarsinsansordonnance.space</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LeO5NoZAAAAAGADqh8LwIJuRQ-mFCsRj1rTHQlE"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# Found a security issue in SilverStripe managed infrastructure? We'd love you to responsibly disclose it to us using the contact details below.
# If you've found an issue in any SilverStripe open source module (e.g. the CMS, Framework or other commercially supported modules) please see https://www.silverstripe.org/.well-known/security.txt
# If you're not sure, use the details below and we'll make sure your info gets to the right place.
# Thank you!

Contact: mailto:security@silverstripe.com
Encryption: https://www.silverstripe.com/.well-known/silverstripe-corp-pgpkey.txt
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">social-hire.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:security@purplewifi.com
Preferred-Languages: en
Policy: https://purple.ai/responsible-disclosure/
Hiring: https://purple.ai/careers/
 1
Contact: mailto:info@simplethings.de
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">petunjuk.id</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">simplejustice.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">dr-farfar.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">pandorajewelrystore.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Canonical: https://handsontable.com/.well-known/security.txt
Contact: mailto:admin@handsontable.com
Preferred-Languages: en, pl
 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Contact: mailto:security@cozycloud.cc
Encryption: https://cozy.io/.well-known/pgp-key.txt
Preferred-Languages: fr, en
Canonical: https://cozy.io/.well-known/security.txt
-----BEGIN PGP SIGNATURE-----

iQHKBAEBCgA0FiEECVxNrYhcw/BB9U+MuJM56wc/oTcFAl+lJlYWHHNlY3VyaXR5
QGNvenljbG91ZC5jYwAKCRC4kznrBz+hNyJGC/0SH5pEN6B6gcZQlC6yOkmMSskI
jz+uLSR3lXJMQ0+9r/zbZDWSGx4wp2X4ign2XtZnwV4Y7gDOghj1Nh6e4YuiEOgh
cuUtvuxf6ZwhFXZUz7gCc3NwKRD5hMEgDdM1bCBDh44fmMw2wV9NYFcAk4u54H3D
t+e6FsgI3p91Lg8/ytor0F+t1PaqL3tAfqWa9LoRNdi1V0gmwT27l9+evUdsCEAG
tVkdV9XWBNUM50JcM3zKma9pwz4/poohgDlMCBlfUVKadBtMuLO3OALRljsyrxHU
nggOLSKx5XnEejFmY1iNJtH7blTXI7prowSNZc1MVsFeslzKDmV1wZTN1Rt5k89k
DH1S7+jscnG0DTGCbdSSPGwQwsuqW1+4ME1zNESHt/hYhaRNrwauFRUScgValpMp
p1PT4zQCBspqd5T4Nm3RdcXuviQEG3r62AUQtRMIY2LRTKsxQ4nptIDire2testr
BQ6A+O/5MK9FS97gQRpB0w6O7aoNcHbcwCQgO2E=
=bOjm
-----END PGP SIGNATURE-----
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">rivastigminesansordonnance.space</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfA5toZAAAAAIdgw5L-tFvheLL6MuniOeGXMWW5"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">forumasuransi.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">seo-browser.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:paul@thealphacentauri.net
Preferred-Languages: uk,ru,en
Canonical: https://thealphacentauri.net/.well-known/security.txt 1
# draft-foudil-securitytxt-06 says this file should be in .well-known
Canonical: https://www.lancaster.ac.uk/.well-known/security.txt

# who to contact if you suspect a problem
Contact: mailto:breach-notification@lancaster.ac.uk

# OBB account that is authorised to receive info for us
OpenBugBounty: https://openbugbounty.org/bugbounty/LancasterUniSOC/
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">partizanskoe.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">authenticsavalanchestore.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">jingsourcing.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">lostwithpurpose.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LdjRvAZAAAAAFDNsQxcLwOdSKehnz5x5GVkZjOk"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">teaching2and3yearolds.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdUMfsZAAAAALA4iL5cot21gKs_5KCdV5AKCeOh"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:contact@cheapies.nz
Contact: https://www.cheapies.nz/contact
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">xn--zritransport-dlb.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">tnp.no</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLxsUZAAAAAGGS0O_a7u7QpJfXpdbqABMD1KEL"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
  <head>
    <!--<meta http-equiv="X-UA-Compatible" content="IE=edge">-->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>National Native American Heritage Month</title>
    <meta name="dc.title" content="National Native American Heritage Month" />
<meta name="description" content="Paying tribute to the rich ancestry and traditions of Native Americans."/>
<meta name="dc.contributor" content="The Library of Congress" />
<meta name="dc.contributor" content="National Archives and Records Administration" />
<meta name="dc.contributor" content="National Gallery of Art" />
<meta name="dc.contributor" content="National Endowment for the Humanities" />
<meta name="dc.contributor" content="National Park Service" />
<meta name="dc.contributor" content="US Smithsonian Institution" />
<meta name="dc.contributor" content="US Holocaust Memorial Museum" />
<meta name="dc.subject" content="Native American" />
<meta name="dc.subject" content="US Natives" />
<meta name="dc.subject" content="Indians" />
<meta name="dc.coverage.spatial" content="United States" />
<meta name="dc.coverage.temporal" content="1492-2099" />
<meta name="dc.type" content="webpage" />
<meta name="dc.language" content="eng" />
<meta name="dc.subject" content="American Indian" />
<meta name="dc.subject" content="First Nation" />
<meta name="google-site-verification" content="1LxxqByGgUfXO14LMZOm2M3smiaexMraP608w-BzAwk" />
<link rel="alternate" type="image/jpg" href="//blogs.loc.gov/nahm/files/2017/02/00-native-th.jpg" />
<meta name="dc.identifier" content="https://nativeamericanheritagemonth.gov/"/>
<meta rel="canonical" href="https://nativeamericanheritagemonth.gov/"/>

    <!-- Le styles -->
    <link href="https://nativeamericanheritagemonth.gov/wp-content/themes/loc-heritage/style.css" rel="stylesheet">

    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
        <link rel='dns-prefetch' href='//www.loc.gov' />
<link rel='dns-prefetch' href='//cdn.loc.gov' />
<link rel='dns-prefetch' href='//s.w.org' />
<link rel='stylesheet' id='wp-block-library-css'  href='https://nativeamericanheritagemonth.gov/wp-includes/css/dist/block-library/style.min.css?ver=5.3.2' type='text/css' media='all' />
<script type='text/javascript' src='https://nativeamericanheritagemonth.gov/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp'></script>
<script type='text/javascript' src='https://nativeamericanheritagemonth.gov/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1'></script>
<script type='text/javascript' src='https://nativeamericanheritagemonth.gov/wp-content/themes/loc-heritage/bootstrap/js/bootstrap.js?ver=5.3.2'></script>
<script type='text/javascript' src='https://nativeamericanheritagemonth.gov/wp-content/themes/loc-heritage/bootstrap/js/custom.js?ver=5.3.2'></script>
<script type='text/javascript' src='https://www.loc.gov/static/js/lib/jquery-1.8.2.min.js?ver=5.3.2'></script>
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://blogs.loc.gov/nahm2020/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://nativeamericanheritagemonth.gov/wp-includes/wlwmanifest.xml" /> 
<meta name="generator" content="WordPress 5.3.2" />
<link rel="canonical" href="https://nativeamericanheritagemonth.gov/" />
<link rel='shortlink' href='https://nativeamericanheritagemonth.gov/' />
<link rel="alternate" type="application/json+oembed" href="https://nativeamericanheritagemonth.gov/wp-json/oembed/1.0/embed?url=http%3A%2F%2Fnativeamericanheritagemonth.gov%2F" />
<link rel="alternate" type="text/xml+oembed" href="https://nativeamericanheritagemonth.gov/wp-json/oembed/1.0/embed?url=http%3A%2F%2Fnativeamericanheritagemonth.gov%2F&#038;format=xml" />

    <!--load the month specific css-->
    <link href="https://nativeamericanheritagemonth.gov/wp-content/themes/loc-heritage/bootstrap/css/heritage-month/native-american.css" rel="stylesheet">

  </head>
  <body class="native-american">


    <style type="text/css">
        div.bgImgContainer {background: url("./files/2016/10/home-bkd.png") no-repeat center top;
                            background-size:100%;
                            border-radius:0;
        };
    </style>

  <div class="container main-container">

  <nav class="navbar navbar-static-top" role="navigation">
    <div class="container">

        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".nav-collapse" aria-expanded="false" aria-controls="navbar">

                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>

            </button>
        </div>

        <div class="collapse navbar-collapse nav-collapse">

            <div class="menu-native-american-heritage-month-menu-container"><ul id="menu-native-american-heritage-month-menu" class="menu"><li id="menu-item-653" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-home current-menu-item page_item page-item-12 current_page_item menu-item-653"><a href="https://nativeamericanheritagemonth.gov/" aria-current="page">Home</a><span class="pipeMargin">|</span></li>
<li id="menu-item-654" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-654"><a href="https://nativeamericanheritagemonth.gov/exhibits-and-collections/">Exhibits and Collections</a><span class="pipeMargin">|</span></li>
<li id="menu-item-655" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-655"><a href="https://nativeamericanheritagemonth.gov/audio-and-video/">Audio and Video</a><span class="pipeMargin">|</span></li>
<li id="menu-item-656" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-656"><a href="https://nativeamericanheritagemonth.gov/for-teachers/">For Teachers</a><span class="pipeMargin">|</span></li>
<li id="menu-item-657" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-657"><a href="https://nativeamericanheritagemonth.gov/images/">Images</a><span class="pipeMargin">|</span></li>
<li id="menu-item-658" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-658"><a href="https://nativeamericanheritagemonth.gov/about/">About</a><span class="pipeMargin">|</span></li>
</ul></div>        </div>

      </div>
    </nav>

<div class ="panel panel-default panel-body bgImgContainer">

    <div class="row">

        <div class="col-md-12">
            
            <!--page content-->
            <div class="pageContent">
                
                                            
            <!-- get ID of homepage, to access its acf fields -->
                                        
                <!--get the month logo-->                                                 
                <img class="monthLogo img-responsive" alt="National Native American Heritage Month" src="//blogs.loc.gov/nahm/files/2016/10/native.png" />
                
                <p class="subHeading">
<strong>November is National American Indian Heritage Month</strong>
The Library of Congress, National Archives and Records Administration, National Endowment for the Humanities, National Gallery of Art, National Park Service, Smithsonian Institution and United States Holocaust Memorial Museum join in paying tribute to the rich ancestry and traditions of Native Americans.<br> 
<a href="./about/">Read More&nbsp;&#187;</a>
</p>


<div id="carousel-example-generic" class="carousel slide" data-ride="carousel" data-interval="false">

  <!-- Wrapper for slides -->
  <div class="carousel-inner">
      <div class="item active">
      <div class="col-sm-4">
        <div class="carousel-caption">
            <h4><a href=""><strong>National Park Service</strong></a></h4>
            <p>America is a vast land of many cultures dating back thousands of years to the original inhabitants of the land. History, heritage, or culture of Native Americans, Alaska Natives, and Native Hawaiians are part of every national park and communities across the country today. Every November during Native American Heritage Month and throughout the year, the National Park Service and our partners share history and the continuing culture of America&#039;s indigenous peoples.
<br />
<br />
<a href="https://www.nps.gov/subjects/npscelebrates/native-american-heritage-month.htm">Explore the Site »</a></p>          
            <p class="small">Image credit: Arrival of the canoes to the dedication of the Xunaa Shuká Hít, or Huna Tribal House, at Glacier Bay National Park and Preserve in Alaska. Courtesy of the National Park Service.</p>
        </div>
    </div>
    <div class="col-sm-8">
        <img class="img-responsive" src="./files/2020/10/homepage_showcase-nahm-canoe.jpg" alt="">
    </div>
</div>   
     <div class="item">
      <div class="col-sm-4">
        <div class="carousel-caption">
            <h4><a href="https://www.loc.gov/programs/poetry-and-literature/poet-laureate/poet-laureate-projects/living-nations-living-words/"><strong>Joy Harjo Appointed to Third Term as U.S. Poet Laureate, Launches Signature Project--Living Nations, Living Words</strong></a></h4>
            <p>For her third term, Harjo will focus on her signature project, "Living Nations, Living Words," which gathers works by contemporary Native poets from across the United States. This digital project features Joy Harjo, Louise Erdrich, Natalie Diaz, Ray Young Bear, Craig Santos Perez, Sherwin Bitsui and Layli Long Soldier. An interactive Story Map connects all 47 contemporary Native American poets to a new online audio collection developed by Harjo, featuring the participating poets reading and discussing an original poem.
<br />
<br />
<a href="https://www.loc.gov/programs/poetry-and-literature/poet-laureate/poet-laureate-projects/living-nations-living-words/">Explore Living Nations, Living Words »</a>
<br /><br />
<a href="https://www.loc.gov/programs/poetry-and-literature/poet-laureate/">Learn more about the Poet Laureate »</a></p>          
            <p class="small"></p>
        </div>
    </div>
    <div class="col-sm-8">
        <img class="img-responsive" src="./files/2019/10/NAHM-homepage-harjo.jpg" alt="">
    </div>
</div>   
     <div class="item">
      <div class="col-sm-4">
        <div class="carousel-caption">
            <h4><a href=""><strong>American Indian Records in the National Archives</strong></a></h4>
            <p>Among the billions of historical records housed at the National Archives throughout the country, researchers can find information relating to American Indians from as early as 1774 through the mid-1990s.<br />
<br />
<a href="https://www.archives.gov/research/native-americans">Research Native American records »</a></p>          
            <p class="small">Image Credit: Caption: "Native Americans from Southeastern Idaho, ca. 1897" National Archives Identifier: 519208</p>
        </div>
    </div>
    <div class="col-sm-8">
        <img class="img-responsive" src="./files/2017/10/idaho-slider.jpg" alt="">
    </div>
</div>   
     <div class="item">
      <div class="col-sm-4">
        <div class="carousel-caption">
            <h4><a href=""><strong><em>Indigenous Law Web Archive</em></strong></a></h4>
            <p>This ongoing collection by the Law Library of Congress preserves primary law sources of indigenous nations, which are sovereign governments by treaty with the United States, and how tribes communicate their law online. Included are the constitutions of a number of sovereign nations, including Navajo Nation, Muscogee Nation, Cherokee Nation, Comanche Nation, and the Hopi Tribe.
<br /><br />
<a href="https://www.loc.gov/collections/indigenous-law-web-archive/about-this-collection/">View the Archive »</a></p>          
            <p class="small">Image Credit: <a href="http://www.navajocourts.org/indexdistct.htm">Map of the Judicial Districts of the Navajo Nation May 6, 2013.</a></p>
        </div>
    </div>
    <div class="col-sm-8">
        <img class="img-responsive" src="./files/2020/10/showcase-map-navajo-B-72DPI.jpg" alt="">
    </div>
</div>   
     <div class="item">
      <div class="col-sm-4">
        <div class="carousel-caption">
            <h4><a href=""><strong>Americans</strong></a></h4>
            <p>American Indian images, names, and stories infuse American history and contemporary life. Pervasive, powerful, at times demeaning, the images, names, and stories reveal the deep connection between Americans and American Indians as well as how Indians have been embedded in unexpected ways in the history, pop culture, and identity of the United States.
<br />
<br /><a href="https://americanindian.si.edu/americans/" target="_blank" rel="noopener noreferrer">Explore the online exhibition »  <i class="fa fa-external-link"></i></a></p>          
            <p class="small">Image credit: The central gallery of the "Americans" exhibition includes nearly 350 representations of Americans Indians in pop culture at the Smithsonian&#039;s National Museum of the American Indian. Photo by Paul Morigi, 2018.</p>
        </div>
    </div>
    <div class="col-sm-8">
        <img class="img-responsive" src="./files/2018/10/NAHM-showcase.jpg" alt="">
    </div>
</div>   
     <div class="item">
      <div class="col-sm-4">
        <div class="carousel-caption">
            <h4><a href=""><strong>Native American Veterans</strong></a></h4>
            <p>American Indians have eagerly served a government which did not always keep its word to their ancestors. They have volunteered to serve in conflicts from World War II to Iraq. Few encountered any overt prejudice while in uniform, but for all American Indian veterans, the honor of defending their country overrode all other considerations. <br />
<br />
<a href="//www.loc.gov/vets/stories/ex-war-nativeamericans.html">Veterans History Project&nbsp;&#187;</a></p>          
            <p class="small">Image credit: (Dan Akee (2004), Veteran&#039;s History Project)</p>
        </div>
    </div>
    <div class="col-sm-8">
        <img class="img-responsive" src="./files/2016/10/akee-featured-slider.jpg" alt="">
    </div>
</div>   
     <div class="item">
      <div class="col-sm-4">
        <div class="carousel-caption">
            <h4><a href=""><strong>For Teachers</strong></a></h4>
            <p>Put the power of primary sources to work in the classroom. Browse lesson plans, student activities, collection guides and research aids from the nation&#039;s premier cultural heritage preservation institutions.
<br />
<br /><a href="https://edsitement.neh.gov/teachers-guides/american-indian-history-and-heritage">National Endowment for the Humanities Teacher&#039;s Guide to American Indian History and Heritage »</a><br />
<br /><a href="./for-teachers/">Additional Resources for Teachers »</a></p>          
            <p class="small">Image Credit: A segment of Sequoia&#039;s Cherokee alphabet (National Endowment of the Humanities)</p>
        </div>
    </div>
    <div class="col-sm-8">
        <img class="img-responsive" src="./files/2017/10/alphabet-slider.jpg" alt="">
    </div>
</div>   
     </div><div class="controllers col-sm-8 col-xs-12 col-sm-offset-4">
      <a class="left carousel-control" href="#carousel-example-generic" data-slide="prev">
        <span class="glyphicon glyphicon-chevron-left"></span>
      </a>
      <a class="right carousel-control" href="#carousel-example-generic" data-slide="next">
        <span class="glyphicon glyphicon-chevron-right"></span>
      </a>
      <ol class="carousel-indicators">                <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>         <li data-target="#carousel-example-generic" data-slide-to="1" class=""></li>         <li data-target="#carousel-example-generic" data-slide-to="2" class=""></li>         <li data-target="#carousel-example-generic" data-slide-to="3" class=""></li>         <li data-target="#carousel-example-generic" data-slide-to="4" class=""></li>         <li data-target="#carousel-example-generic" data-slide-to="5" class=""></li>         <li data-target="#carousel-example-generic" data-slide-to="6" class=""></li> 
      </ol>
</div>

</div>

<div class="row eventContainer">
  <h1>2020 Event Highlights</h1>  <div class="col-lg-4 col-sm-4 col-xs-12">
    <div class="col-md-12 eventContent">
        <h3>Webinar</h3>
        <h4>November 12</h4>
        <div class="eventBox">
        <p><strong><a href="https://www.si.edu/events/heritagemonth?trumbaEmbed=view%3Devent%26eventid%3D148154524" target="_blank" rel="noopener noreferrer">Conversation with &ldquo;Why We Serve&rdquo; Co-Author Alexandra Harris <i class="fa fa-external-link"></i></a></strong><br />Join museum senior editor Alexandra Harris, co-author of &ldquo;Why We Serve: Native Americans in the United States Armed Forces,&rdquo; virtually for a discussion about identity and the warrior stereotype of Native people serving in the military, as well as actual—and remarkable—traditions of peace and war within American Indian communities.</p>
        <p class="small">(National Museum of the American Indian)</p>
        </div>
    </div>
 </div>  <div class="col-lg-4 col-sm-4 col-xs-12">
    <div class="col-md-12 eventContent">
        <h3>Webinar</h3>
        <h4>November 18</h4>
        <div class="eventBox">
        <p><strong><a href="https://www.archives.gov/calendar/event/native-communities-and-the-vote-teaching-about-american-indian-voting-rights-through-documents">Native Communities and the Vote: Teaching about American Indian Voting Rights through Documents</a></strong><br />Join us in this webinar for educators and learn how to incorporate primary sources related to American Indian voting rights into your lessons. We will share activities and resources from the National Archives, and explore how to include discussions of evolving rights over time as relating to Native Communities and the right to participate in federal elections.
<br />
<a href="https://docs.google.com/forms/d/e/1FAIpQLScz1_yezttNTbiu1r1wmkUVZ5iHGI5yRcedie2leVp1xFcchg/viewform" target="_blank" rel="noopener noreferrer">Register for the Webinar  <i class="fa fa-external-link"></i></a></p>
        <p class="small">(National Archives and Records Administration)</p>
        </div>
    </div>
 </div>  <div class="col-lg-4 col-sm-4 col-xs-12">
    <div class="col-md-12 eventContent">
        <h3>Films, Online Events</h3>
        <h4>Nov. 18-27</h4>
        <div class="eventBox">
        <p><strong><a href="https://americanindian.si.edu/calendar?trumbaEmbed=view%3Devent%26eventid%3D148154626" target="_blank" rel="noopener noreferrer">Native Cinema Showcase <i class="fa fa-external-link"></i></a></strong><br />The National Museum of the American Indian’s Native Cinema Showcase is an annual celebration of the best in Native film. This year, for the 20th-anniversary showcase, the museum presents the full program online, streaming new films, fan favorite classics, and conversations with filmmakers. The showcase provides a unique forum for engagement with Native filmmakers and stories from Indigenous communities throughout the Western Hemisphere and Arctic.</p>
        <p class="small">(National Museum of the American Indian)</p>
        </div>
    </div>
 </div><div class="clearfix visible-md visible-sm visible-xs"></div>         <div class="col-lg-4 col-sm-4 col-xs-12">
    <div class="col-md-12 eventContent">
        <h3>Webcast</h3>
        <h4>November 19</h4>
        <div class="eventBox">
        <p><strong><a href="https://www.si.edu/events/heritagemonth?trumbaEmbed=view%3Devent%26eventid%3D148223425" target="_blank" rel="noopener noreferrer">Smithsonian Social Studies Online: Native American Heritage Month <i class="fa fa-external-link"></i></a></strong><br />Join the National Museum of American History for an online exploration into key social studies topics, featuring museum resources from the Smithsonian. This episode will focus on Native American Heritage Month.</p>
        <p class="small">(National Museum of American History, Smithsonian Institution)</p>
        </div>
    </div>
 </div>  <div class="col-lg-4 col-sm-4 col-xs-12">
    <div class="col-md-12 eventContent">
        <h3>Webinar</h3>
        <h4>November 19</h4>
        <div class="eventBox">
        <p><strong><a href="https://americanindian.si.edu/nk360/student-programs/distance-learning" target="_blank" rel="noopener noreferrer">Youth in Action: Conversations about Our Future—Indigenous Food Sovereignty <i class="fa fa-external-link"></i> </a></strong><br />Today many young people are returning to traditional food sources and sustainable ways of living through political action and sustainable practice. This November, join us in a conversation with young Native foodies working to decolonize their diets and restore balance in their bodies and communities.</p>
        <p class="small">(National Museum of the American Indian)</p>
        </div>
    </div>
 </div>

  <div class="col-lg-4 col-sm-4 col-xs-12">
    <div class="col-md-12 eventContent">
        <h3>Additional Events</h3>                <div class='itemBottomBorder'><p><strong><a href="//www.loc.gov/loc/events/index.php">Library of Congress Calendar</a></strong></p>            </div>            <div class='itemBottomBorder'><p><strong><a href="https://www.archives.gov/calendar">National Archives Calendar</a></strong></p>            </div>            <div class='itemBottomBorder'><p><strong><a href="http://www.neh.gov/events">National Endowment for the Humanities Calendar of Events</a></strong></p>            </div>            <div class='itemBottomBorder'><p><strong><a href="http://www.nga.gov/content/ngaweb/calendar.html">National Gallery of Art Calendar of Events</a></strong></p>            </div>            <div class='itemBottomBorder'><p><strong><a href="https://www.nps.gov/subjects/americanindians/events.htm">National Park Service</a></strong></p>            </div>            <div class='itemBottomBorder'><p><strong><a href="https://www.si.edu/events/heritagemonth" target="_blank" rel="noopener noreferrer">Smithsonian Institution Calendar of Events</a> <i class="fa fa-external-link"></i></strong></p>            </div>            <div class='itemBottomBorder'><p><strong><a href="http://nmai.si.edu/calendar/" target="_blank" rel="noopener noreferrer">
Smithsonian National Museum of the American Indian Calendar of Events</a>  <i class="fa fa-external-link"></i></strong></p>            </div>     </div>
</div>

</div>                                            
            </div><!-- close pageContent -->
                
                        
            <!-- if home page or about, include the partner images -->
            <div class="partners">
<h4 class="centerHeading">Brought to you by:</h4>  
<div class="partnerLogos">
<a href='http://www.nga.gov/' id='nga-logo-block'><img class="img-responsive" height="88" alt="National Gallery of Art" src="https://nativeamericanheritagemonth.gov/wp-content/themes/loc-heritage/images/partner-logos/nga.png" /></a>
<a href='https://www.loc.gov/' id='loc-logo-block'><img class="img-responsive" height="88" alt="Library of Congress" src="https://nativeamericanheritagemonth.gov/wp-content/themes/loc-heritage/images/partner-logos/loc.png" /></a>
<a href='https://www.si.edu/' id='si-logo-block'><img class="img-responsive" height="88" alt="Smithsonian Institution" src="https://nativeamericanheritagemonth.gov/wp-content/themes/loc-heritage/images/partner-logos/si.png" /></a>
<a href='http://www.archives.gov/' id='archives-logo-block'><img class="img-responsive" height="88" alt="National Archives" src="https://nativeamericanheritagemonth.gov/wp-content/themes/loc-heritage/images/partner-logos/na.png" /></a>
<a href='https://www.ushmm.org/' id='ushmm-logo-block'><img class="img-responsive" height="88" alt="United States Holocaust Memorial Museum" src="https://nativeamericanheritagemonth.gov/wp-content/themes/loc-heritage/images/partner-logos/ushmm.png" /></a>
<a href='https://www.nps.gov/index.htm' id='nps-logo-block'><img class="img-responsive" height="88" alt="National Park Service" src="https://nativeamericanheritagemonth.gov/wp-content/themes/loc-heritage/images/partner-logos/nps.png" /></a>
<a href='http://www.neh.gov/' id='neh-logo-block'><img class="img-responsive" height="88" alt="National Endowment for the Humanities" src="https://nativeamericanheritagemonth.gov/wp-content/themes/loc-heritage/images/partner-logos/neh.png" /></a>
<span class="stretch"></span>
</div>
</div>            
        </div>
        
    </div>
    
</div>


      <footer>
                 
        <div>

            <p>    
            <!--add credit for the bg image-->
            Background image: Detail of <a href="http://collections.si.edu/search/detail/edanmdm:NMAI_171143?q=catalog+number+15%2F9869&record=3&hlterm=catalog%2Bnumber%2B15%2F9869&inline=true">Double saddle blanket, circa 1880. National Museum of the American Indian, Smithsonian Institution. Cat. no. 15/9869</a>. Used with permission.            </p>
            
            <p>This Site Hosted by The Library of Congress                 
                                    | <a href="https://nativeamericanheritagemonth.gov/legal/legal" >Legal</a>            | <a href="https://www.usa.gov/">USA.gov</a></p>
            
        </div>
        
      </footer>

    </div>

<!-- /container -->

    <script type='text/javascript' src='https://cdn.loc.gov/loader/player/media.js?ver=5.3.2'></script>
<script type='text/javascript' src='https://nativeamericanheritagemonth.gov/wp-includes/js/wp-embed.min.js?ver=5.3.2'></script>
    <script src='//cdn.loc.gov/js/global/metrics/sc/s_code.js'></script>
  </body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">kevindurantjerseys.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">solomonstarnews.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">arandomserver.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">aze.dk</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfBi-YZAAAAAFOC9r-dzno7npkThWKMUwmaTLOa"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">arizonadiamondbacksjerseys.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">salmaexpress.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:security@thirdlight.com
Encryption: https://updates.thirdlight.com/.well-known/security.gpg
Acknowledgements: 
Policy: https://updates.thirdlight.com/security-policy.html
Signature: https://updates.thirdlight.com/.well-known/security.txt.sig
Hiring: https://www.thirdlight.com/about/careers/
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">thecheckeredflag.co.uk</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">forumhuawei.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">decoracion2.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">turkyacht.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto: infosec@thecollective.com
Preferred-Languages: en
Canonical: https://www.thecollective.com/.well-known/security.txt
 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Contact: mailto:security@outfunnel.com
Encryption: https://keys.openpgp.org/vks/v1/by-fingerprint/7C183A1153C2D8EC52BE5AF3404A5AEF1B60D0A5
Preferred-Languages: en, et

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEfBg6EVPC2OxSvlrzQEpa7xtg0KUFAl20CBAACgkQQEpa7xtg
0KV57A//aUq4DqxQnG9yt+OqbdkkIDRG/SzSrjP9DO/jP7bE2Ud44VEz6D3bjQqG
Qv2xcoRPtn5Pa94MOokmM1UFDMZaSHQm8/H6QHHM/ziIVYJ5l9ImW5lnbB5Yo+7D
wyfU1Vu8EBGDEqqFeTsj+ODCpgKltNbpZoXVWAZ68ljMOKak62SwYC4vuet5bdgT
wFljx6XnXT+Xi1wEkApzM173CUKRVaPqImK/unvAlhoGpdfbRp0N0HG4tQmdzj65
rmE8ZckHkidKkxtqs6tcTtpx1TUAEisS1D167mcyLWN8f1TBpIpjmFkusW5KiEqn
FZOClOpOKjDCM+2GNRDWhmHMjoSmpFyNVel74ak89Ob7yfJK4atc0fpZSVZWeN0P
lZqYfczzRAKAKXRjpcXDhQYwU+HohyDacyVMXJAK+FF6FYDHI/xjtKE60dBNty7U
KD/z0HrHVx05d2r9WV15TOheZgsUcHe6c4grdfShLX4bpx/BYFjxkM6rEPTI0h4D
fH5+M7n7k4epihfUBtRTU4cT97UyPaZvER4D13Kx56ERPrvhBmvQX/PC3LOIgqLi
0eBH+6u2t36lT1hlH3THk1y6DlMZ80+ckwkw1HnQX/fgloFT7DjC/196XD3fuDW3
lFpsp/QDyevGNf42lk/R2kjWnk0rAMq2DIE9eDiTcnysn1mH5p8=
=1MiK
-----END PGP SIGNATURE-----

 1
Contact: mailto:security@netdirect.cz 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bisoprololrezeptfrei.space</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LeS5NoZAAAAAA8gCTPKNiTJMcpCCN_7iCzIdOsh"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">radiovybe.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ods.vn</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">jordan9.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">sollywood.com.sa</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Ld_WdEZAAAAALo8yaYXwhYYf2WFFUfijPNUwEpU"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: ivo.stejskal@ci.cz
Contact: https://twitter.com/ivostejskal
Contact: https://www.facebook.com/ivo.stejskal.5
Contact: dan.lebduska@ci.cz
Contact: tomas.kalny@ci.cz
Contact: petr.klimes@ci.cz
Policy: https://www.ceskyinternet.cz/privat-policy.html
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">med-books.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">lpj.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:productsecurity@linnworks.com
Encryption: https://www.linnworks.com/product-security
Acknowledgments: https://www.linnworks.com/product-security
Preferred-Languages: en
Policy: https://www.linnworks.com/product-security
Hiring: https://www.linnworks.com/about-us 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">theflashblog.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:security[at]digdeo.fr
Preferred-Languages: fr,en
Canonical: https://www.letrot.com/.well-known/security.txt
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">militaryreligiousfreedom.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">64188.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">investottawa.ca</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
User-agent: *

Disallow: */umbraco/
Disallow: */umbraco_Client/
Disallow: */research-tools/economic-calendar/event
Sitemap: http://www.equiti.com/sitemap.xml 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ibtimes.id</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mykakwax.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cialisilike2020.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LeS5NoZAAAAAA8gCTPKNiTJMcpCCN_7iCzIdOsh"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">tipssehatcantik.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:admin@shetnews.co.uk
Preferred-Languages: en
Canonical: https://www.shetnews.co.uk/.well-known/security.txt
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">deutschepille.space</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfA5toZAAAAAIdgw5L-tFvheLL6MuniOeGXMWW5"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: security@ansarada.com
Preferred-Languages: en
Hiring: https://team.ansarada.com/all 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Contact: mailto:security@skalelabs.com
Encryption: https://skale.network/pgp-key.txt
Preferred-Languages: en, es, uk, ru, fr, tr
Canonical: https://skale.network/.well-known/security.txt
Policy: https://skale.network/security/
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE+bAi1+aqJuUKdlSZIxrnKzabJksFAl9GWOMACgkQIxrnKzab
JksNTBAAgosrJfFzemVVQvUt7zISKEaHEzAxfCfN8vYiVUrmSvSQwwWVMZtb39Rt
XhYzvft2o4eMQj9siaUMJla0XNqyPq5jlroVzXoOxvDUEPRg5+7F8xXsqEc9gvU4
eymqVtV/vEQzssSFE3HOgbudNBXaKUtBHI/1ji1RGWp/F+N/+G8vq9vXQBI1lyZ5
5UQ/tgOYvtHIwf2TKZnTwLMZEXAQmlIwawqTo/sINKYOurT9QmCjO9zlmiFZJHHx
PBhpV3Mp7iCEr2N8nMFT6RD8ANLtihZOfMDvLtCVwOZdrr9skf4wnwpIA7YrNRPo
oWudCguhA2uXwUV6QcoWERCW99k71BxKFJoyfnJcGlxmjHqBp9MEPvtnzNgZD0Si
Vlf6YpuMz596zaFQvdgYrlG3GpxWuduZ9bWPEzkc393rbaC3rW2MUamqJQqVYr/l
sp8SmCSX3n6tuA1rYAm4uox6kUxfywIv2pgA7atdjX9MET/OCiVyCTitxUSKCFtT
F12o0kdwHcWOBusPq1VjmymO2pR4rs1afFh7zubJTSTz4IfmqPajsI48iUhILQy4
Cb3kM5laAP7N3OTCNn5S4AC8u6hNmhLWQ84gCCcqbW4+LFz9xMauSi6E5ZsCpRL8
3ukajv8GUECLEmiwqYM3YD+h7UCs9nCND6j5dZSZzmUyK1CB+Ow=
=hMmE
-----END PGP SIGNATURE-----

 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">yourchance.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">pantydeal.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">49ersjerseyshop.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">travelnews.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">needsomefun.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">risethemes.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cardinator.ru</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">win10productkeys.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfvptUZAAAAACNDXmTWsFWmBjSHy4FXt5bmi-Vv"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:security@relevant.software
Canonical: https://relevant.software/.well-known/security.txt

 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">iskconbangalore.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">belst.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:security@oricom.org
Preferred-Languages: en, fr
Canonical: https://www.oricom.ca/.well-known/security.txt 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">leepuniversity.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">lecameleonhotel.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cialisdiscountsm.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:csirt@xameco.net
Contact: mailto:csirt%2Buri%2Bencoded@xameco.net
Contact: tel:+32-10-870191
Contact: https://xameco.net/security-contact.html
Encryption: https://xameco.net/pgp-key.txt
Preferred-Languages: en, fr, nl
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">westsidetennis.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcYKcMZAAAAAGJkmdtaclnNh6KJdv3J7joZS1gf"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">updata.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mentors.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcQTQ8aAAAAAA-vFqlZhJkm-63BvtQnXUgE7F8s"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">electromagnetichealth.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lfmz14UAAAAAOOCaTqmWmCAD3z2nmNmMANMvSAd"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">onlinemarketingclassroom.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# Our security address
Contact: honza@onlineshop.cz 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">magnomed.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">admissionwar.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">magdahavas.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lfmz14UAAAAAOOCaTqmWmCAD3z2nmNmMANMvSAd"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">primenursingcare.com</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cutekaomoji.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">sadanews.ps</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
OpenBugBounty: https://openbugbounty.org/bugbounty/SandiSchleicher/ 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">weashare.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Mining server is Online for monero.crypto-pool.fr 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">accesstvpro.co</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LdL59oZAAAAAH6CYjOdgAO2qxfGPcJRee1hMVHN"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">beebagshop.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">truescho.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">thefaq.gr</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
  <head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <title>LENOX | Page Not Found</title>

  <style type="text/css">
    body {
      font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
      padding: 0;
      margin: 0;
      text-align: center;
	  background-color:#FFFFFF;
    }

    h1 {
      margin: 20px;
    }

    a {
      text-decoration: none;
    }

    .link-txt {
      color: #0067ad;
      transition: all 0.5s ease;
    }

     .link-txt:hover {
      color: #00407b;
      text-decoration: none;
    }

    .link-txt::after {
      content: "\00a0\2192";
      left: 0;
      position: relative;
      transition: all 0.5s ease;
    }

    .link-txt:hover::after {
      left: 5px;
    }

    /* HEADER */

    .header-page {
      background: #F2F2F2;
      padding: 8px 5%;
    }
	
	.header-page img {
	  margin:15px 10px 10px 10px;	
	}

    /* MAIN SECTION */

    .section-main {
      align-content: center;
      align-items: center;
      display: flex;
      justify-content: center;
      flex-direction: column;
      padding: 5%;
      height: calc(80vh - 100px);
    }
  	h1 {
		font-size:10em;
		line-height:.75em;
		color:#0067ad;
		margin:0;
	}
	h2 {
		font-size:3em;
		line-height:1em;
		color:#0067ad;
		margin:.5em 0;;
	}
	p {
		margin-top:0;
		color:#0067ad;

	}

  </style>

  
</head>
  <body>
    <header class="header-page">
      <a href="/default.aspx">
        <img src="/PublishingImages/upblade/lenox_logo.png" />
      </a>
    </header>
    <section class="section-main">
      <h1>404</h1>
      <h2>Page Not Found</h2>
      <p>The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.</p>
      <a class="link-txt" href="/default.aspx">Go To Home Page</a>
    </section>
  </body>
</html> 1
﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>山东翔工机械有限公司</title>
</head>
<body>
您查找的页面不存在，点击返回首页：<a href="/">首页</a>
</body>
</html>
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mcm-bagsoutlet.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: https://hackerone.com/proctergamble
Acknowledgments: https://hackerone.com/proctergamble/thanks 1
# TR - sinavtime.com sistemleri uzerinde tespit ettiginiz bir guvenlik zafiyetini raporlamak istiyorsaniz
# asagidaki e-posta adresinden bize ulasabilirsiniz.
# EN - If you would like to report a security issue, you can reach us via below email address.
Contact wwwsinavtimecom@gmail.com
Preferred-Languages en,tr
Canonical httpswww.sinavtime.com.well-knownsecurity.txt 1
<!DOCTYPE html>
<html lang="en">
	<head><script src="/gdpr/gdprscript.js?buildTime=1603412121&hasRemindMe=true&stealth=false"></script><script src="/gdpr/gdprscript.js?buildTime=1603388223&hasRemindMe=true&stealth=false"></script>
		<title>404</title><meta property="og:site_name" content="retiredbrains.com" />
<meta property="og:title" content="404" />
<meta property="og:description" content="Let us help you find what you are looking for..." />
<meta property="og:image" content="https://www.retiredbrains.com/uploads/9/5/1/8/95186694/zombie-521243-640_orig.jpg" />
<meta property="og:image" content="https://www.retiredbrains.com/uploads/9/5/1/8/95186694/1479763454.png" />
<meta property="og:url" content="https://www.retiredbrains.com/404.html" />

<link rel="icon" type="image/png" href="//www.weebly.com/uploads/reseller/assets/1060-favicon.ico" />



<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<meta name="viewport" content="width=device-width, initial-scale=1.0"/>

		<script>
 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
 })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

 ga('create', 'UA-45734924-1', 'auto');
 ga('send', 'pageview');

</script>

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
  (adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: "ca-pub-7399912903565112",
    enable_page_level_ads: true
  });
</script>

<meta name="msvalidate.01" content="F0C996471E2A84D7571B57A075382713" />
		<link id="wsite-base-style" rel="stylesheet" type="text/css" href="//cdn2.editmysite.com/css/sites.css?buildTime=1603388223" />
<link rel="stylesheet" type="text/css" href="//cdn2.editmysite.com/css/old/fancybox.css?1603321792" />
<link rel="stylesheet" type="text/css" href="//cdn2.editmysite.com/css/social-icons.css?buildtime=1603321792" media="screen,projection" />
<link rel="stylesheet" type="text/css" href="/files/main_style.css?1603388220" title="wsite-theme-css" />
<link href='//fonts.googleapis.com/css?family=Raleway:400,300,200,700&subset=latin,latin-ext' rel='stylesheet' type='text/css' />
<link href='//fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic&subset=latin,latin-ext' rel='stylesheet' type='text/css' />

<link href='//fonts.googleapis.com/css?family=Raleway:400,300,200,700&subset=latin,latin-ext' rel='stylesheet' type='text/css' />
<link href='//fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic&subset=latin,latin-ext' rel='stylesheet' type='text/css' />
<link href='//fonts.googleapis.com/css?family=Poly:400,400italic&subset=latin,latin-ext' rel='stylesheet' type='text/css' />
<link href='//fonts.googleapis.com/css?family=Raleway:400,300,200,700&subset=latin,latin-ext' rel='stylesheet' type='text/css' />
<link href='//fonts.googleapis.com/css?family=Montserrat:400,700&subset=latin,latin-ext' rel='stylesheet' type='text/css' />
<link href='//fonts.googleapis.com/css?family=Montserrat:400,700&subset=latin,latin-ext' rel='stylesheet' type='text/css' />
<link href='//fonts.googleapis.com/css?family=Lato:400,300,300italic,700,400italic,700italic&subset=latin,latin-ext' rel='stylesheet' type='text/css' />
<style type='text/css'>
.wsite-elements.wsite-not-footer:not(.wsite-header-elements) div.paragraph, .wsite-elements.wsite-not-footer:not(.wsite-header-elements) p, .wsite-elements.wsite-not-footer:not(.wsite-header-elements) .product-block .product-title, .wsite-elements.wsite-not-footer:not(.wsite-header-elements) .product-description, .wsite-elements.wsite-not-footer:not(.wsite-header-elements) .wsite-form-field label, .wsite-elements.wsite-not-footer:not(.wsite-header-elements) .wsite-form-field label, #wsite-content div.paragraph, #wsite-content p, #wsite-content .product-block .product-title, #wsite-content .product-description, #wsite-content .wsite-form-field label, #wsite-content .wsite-form-field label, .blog-sidebar div.paragraph, .blog-sidebar p, .blog-sidebar .wsite-form-field label, .blog-sidebar .wsite-form-field label {font-family:"Raleway" !important;}
#wsite-content div.paragraph, #wsite-content p, #wsite-content .product-block .product-title, #wsite-content .product-description, #wsite-content .wsite-form-field label, #wsite-content .wsite-form-field label, .blog-sidebar div.paragraph, .blog-sidebar p, .blog-sidebar .wsite-form-field label, .blog-sidebar .wsite-form-field label {color:#2a2a2a !important;}
.wsite-elements.wsite-footer div.paragraph, .wsite-elements.wsite-footer p, .wsite-elements.wsite-footer .product-block .product-title, .wsite-elements.wsite-footer .product-description, .wsite-elements.wsite-footer .wsite-form-field label, .wsite-elements.wsite-footer .wsite-form-field label{}
.wsite-elements.wsite-not-footer:not(.wsite-header-elements) h2, .wsite-elements.wsite-not-footer:not(.wsite-header-elements) .product-long .product-title, .wsite-elements.wsite-not-footer:not(.wsite-header-elements) .product-large .product-title, .wsite-elements.wsite-not-footer:not(.wsite-header-elements) .product-small .product-title, #wsite-content h2, #wsite-content .product-long .product-title, #wsite-content .product-large .product-title, #wsite-content .product-small .product-title, .blog-sidebar h2 {font-family:"Lora" !important;}
#wsite-content h2, #wsite-content .product-long .product-title, #wsite-content .product-large .product-title, #wsite-content .product-small .product-title, .blog-sidebar h2 {color:#3f3f3f !important;}
.wsite-elements.wsite-footer h2, .wsite-elements.wsite-footer .product-long .product-title, .wsite-elements.wsite-footer .product-large .product-title, .wsite-elements.wsite-footer .product-small .product-title{color:#fff !important;letter-spacing: 0px !important;}
#wsite-title {font-family:"Poly" !important;color:#484848 !important;letter-spacing: 3px !important;}
.wsite-not-footer h2.wsite-content-title a, .wsite-not-footer .paragraph a, .wsite-not-footer blockquote a, #blogTable .blog-sidebar a, #blogTable .blog-comments a, #blogTable .blog-comments-bottom a, #wsite-com-store a, #wsite-com-product-gen a {color:#24678d !important;}
.wsite-footer h2 a, .wsite-footer .paragraph a, .wsite-footer blockquote a {color:#d5d5d5 !important;}
.wsite-menu-default a {font-family:"Raleway" !important;}
.wsite-menu a {}
.wsite-image div, .wsite-caption {}
.galleryCaptionInnerText {}
.fancybox-title {}
.wslide-caption-text {}
.wsite-phone {}
.wsite-headline,.wsite-header-section .wsite-content-title {font-family:"Montserrat" !important;font-weight:700 !important;}
.wsite-headline-paragraph,.wsite-header-section .paragraph {font-family:"Montserrat" !important;font-weight:400 !important;font-style:normal !important;}
.wsite-button-inner {font-family:"Lato" !important;font-weight:700 !important;text-transform:  uppercase !important;letter-spacing: 1px !important;}
.wsite-not-footer blockquote {}
.wsite-footer blockquote {}
.blog-header h2 a {}
#wsite-content h2.wsite-product-title {text-transform:  none !important;}
.wsite-product .wsite-product-price a {}
.wsite-footer h2 a:hover, .wsite-footer .paragraph a:hover, .wsite-footer blockquote a:hover {color:#8dc7d3 !important;}
.wsite-button-small .wsite-button-inner {font-size:12px !important;}
.wsite-button-large .wsite-button-inner {font-size:12px !important;}
@media screen and (min-width: 767px) {.wsite-elements.wsite-not-footer:not(.wsite-header-elements) div.paragraph, .wsite-elements.wsite-not-footer:not(.wsite-header-elements) p, .wsite-elements.wsite-not-footer:not(.wsite-header-elements) .product-block .product-title, .wsite-elements.wsite-not-footer:not(.wsite-header-elements) .product-description, .wsite-elements.wsite-not-footer:not(.wsite-header-elements) .wsite-form-field label, .wsite-elements.wsite-not-footer:not(.wsite-header-elements) .wsite-form-field label, #wsite-content div.paragraph, #wsite-content p, #wsite-content .product-block .product-title, #wsite-content .product-description, #wsite-content .wsite-form-field label, #wsite-content .wsite-form-field label, .blog-sidebar div.paragraph, .blog-sidebar p, .blog-sidebar .wsite-form-field label, .blog-sidebar .wsite-form-field label {}
#wsite-content div.paragraph, #wsite-content p, #wsite-content .product-block .product-title, #wsite-content .product-description, #wsite-content .wsite-form-field label, #wsite-content .wsite-form-field label, .blog-sidebar div.paragraph, .blog-sidebar p, .blog-sidebar .wsite-form-field label, .blog-sidebar .wsite-form-field label {}
.wsite-elements.wsite-footer div.paragraph, .wsite-elements.wsite-footer p, .wsite-elements.wsite-footer .product-block .product-title, .wsite-elements.wsite-footer .product-description, .wsite-elements.wsite-footer .wsite-form-field label, .wsite-elements.wsite-footer .wsite-form-field label{font-size:13px !important;}
.wsite-elements.wsite-not-footer:not(.wsite-header-elements) h2, .wsite-elements.wsite-not-footer:not(.wsite-header-elements) .product-long .product-title, .wsite-elements.wsite-not-footer:not(.wsite-header-elements) .product-large .product-title, .wsite-elements.wsite-not-footer:not(.wsite-header-elements) .product-small .product-title, #wsite-content h2, #wsite-content .product-long .product-title, #wsite-content .product-large .product-title, #wsite-content .product-small .product-title, .blog-sidebar h2 {}
#wsite-content h2, #wsite-content .product-long .product-title, #wsite-content .product-large .product-title, #wsite-content .product-small .product-title, .blog-sidebar h2 {}
.wsite-elements.wsite-footer h2, .wsite-elements.wsite-footer .product-long .product-title, .wsite-elements.wsite-footer .product-large .product-title, .wsite-elements.wsite-footer .product-small .product-title{font-size:15px !important;line-height:13px !important;}
#wsite-title {font-size:28px !important;}
.wsite-menu-default a {font-size:13px !important;}
.wsite-menu a {}
.wsite-image div, .wsite-caption {}
.galleryCaptionInnerText {}
.fancybox-title {}
.wslide-caption-text {}
.wsite-phone {}
.wsite-headline,.wsite-header-section .wsite-content-title {font-size:49px !important;}
.wsite-headline-paragraph,.wsite-header-section .paragraph {}
.wsite-button-inner {}
.wsite-not-footer blockquote {}
.wsite-footer blockquote {}
.blog-header h2 a {}
#wsite-content h2.wsite-product-title {}
.wsite-product .wsite-product-price a {}
}</style>
<style>
.wsite-background {background-image: url("/uploads/9/5/1/8/95186694/background-images/1366250879.jpg") !important;background-repeat: no-repeat !important;background-position: 50.00% 56.12% !important;background-size: 100% !important;background-color: transparent !important;}
body.wsite-background {background-attachment: fixed !important;}.wsite-background.wsite-custom-background{ background-size: cover !important}
</style>
		<script src='/files/templateArtifacts.js?1603388220'></script>
<script>
var STATIC_BASE = '//cdn1.editmysite.com/';
var ASSETS_BASE = '//cdn2.editmysite.com/';
var STYLE_PREFIX = 'wsite';
</script>
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js'></script>

<script type="text/javascript" src="//cdn2.editmysite.com/js/lang/en/stl.js?buildTime=1603321792&"></script>
<script src="//cdn2.editmysite.com/js/site/main.js?buildTime=1603388223"></script><script type="text/javascript">
		function initCustomerAccountsModels() {
					(function(){_W.setup_rpc({"url":"\/ajax\/api\/JsonRPC\/CustomerAccounts\/","actions":{"CustomerAccounts":[{"name":"login","len":2,"multiple":false,"standalone":false},{"name":"logout","len":0,"multiple":false,"standalone":false},{"name":"getSessionDetails","len":0,"multiple":false,"standalone":false},{"name":"getAccountDetails","len":0,"multiple":false,"standalone":false},{"name":"getOrders","len":0,"multiple":false,"standalone":false},{"name":"register","len":4,"multiple":false,"standalone":false},{"name":"emailExists","len":1,"multiple":false,"standalone":false},{"name":"passwordReset","len":1,"multiple":false,"standalone":false},{"name":"passwordUpdate","len":3,"multiple":false,"standalone":false},{"name":"validateSession","len":1,"multiple":false,"standalone":false}]},"namespace":"_W.CustomerAccounts.RPC"});
_W.setup_model_rpc({"rpc_namespace":"_W.CustomerAccounts.RPC","model_namespace":"_W.CustomerAccounts.BackboneModelData","collection_namespace":"_W.CustomerAccounts.BackboneCollectionData","bootstrap_namespace":"_W.CustomerAccounts.BackboneBootstrap","models":{"CustomerAccounts":{"_class":"CustomerAccounts.Model.CustomerAccounts","defaults":null,"validation":null,"types":null,"idAttribute":null,"keydefs":null}},"collections":{"CustomerAccounts":{"_class":"CustomerAccounts.Collection.CustomerAccounts"}},"bootstrap":[]});
})();
		}
		if(document.createEvent && document.addEventListener) {
			var initEvt = document.createEvent('Event');
			initEvt.initEvent('customerAccountsModelsInitialized', true, false);
			document.dispatchEvent(initEvt);
		} else if(document.documentElement.initCustomerAccountsModels === 0){
			document.documentElement.initCustomerAccountsModels++
		}
		</script>
		<script type="text/javascript"> _W = _W || {}; _W.securePrefix='www.retiredbrains.com'; </script><script>_W = _W || {};
			_W.customerLocale = "en_US";
			_W.storeName = null;
			_W.isCheckoutReskin = false;
			_W.storeCountry = "US";
			_W.storeCurrency = "USD";
			_W.storeEuPrivacyPolicyUrl = "";
			com_currentSite = "624966021707914031";
			com_userID = "95186694";</script><script type="text/javascript">_W.resellerSite = true;</script><script type="text/javascript">_W.configDomain = "www.weebly.com";</script><script>_W.relinquish && _W.relinquish()</script>
<script type="text/javascript" src="//cdn2.editmysite.com/js/lang/en/stl.js?buildTime=1603388223&"></script><script> _W.themePlugins = [];</script><script type="text/javascript"> _W.recaptchaUrl = "https://www.google.com/recaptcha/api.js"; </script><script type="text/javascript"><!--
	
	var DISABLE_NAV_MORE = 1;
	function initFlyouts(){
		initPublishedFlyoutMenus(
			[{"id":"811031088245069864","title":"Home","url":"index.html","target":"","nav_menu":false,"nonclickable":false},{"id":"303730534723082360","title":"Jobs & Work","url":"jobs--work.html","target":"","nav_menu":false,"nonclickable":false},{"id":"258035167410532960","title":"Home & Family","url":"home--family.html","target":"","nav_menu":false,"nonclickable":false},{"id":"506210949555971702","title":"Travel & Entertainment","url":"travel--entertainment.html","target":"","nav_menu":false,"nonclickable":false},{"id":"400931598539517859","title":"Money","url":"money.html","target":"","nav_menu":false,"nonclickable":false},{"id":"899985403365487353","title":"Health","url":"health.html","target":"","nav_menu":false,"nonclickable":false},{"id":"815610209243690625","title":"Discounts","url":"discounts.html","target":"","nav_menu":false,"nonclickable":false},{"id":"793403357257722865","title":"Blog","url":"blog.html","target":"","nav_menu":false,"nonclickable":false}],
			"303266723445307574",
			'',
			'active',
			false,
			{"navigation\/item":"<li {{#id}}id=\"{{id}}\"{{\/id}} class=\"wsite-menu-item-wrap\">\n\t<a\n\t\t{{^nonclickable}}\n\t\t\t{{^nav_menu}}\n\t\t\t\thref=\"{{url}}\"\n\t\t\t{{\/nav_menu}}\n\t\t{{\/nonclickable}}\n\t\t{{#target}}\n\t\t\ttarget=\"{{target}}\"\n\t\t{{\/target}}\n\t\t{{#membership_required}}\n\t\t\tdata-membership-required=\"{{.}}\"\n\t\t{{\/membership_required}}\n\t\tclass=\"wsite-menu-item\"\n\t\t>\n\t\t{{{title_html}}}\n\t<\/a>\n\t{{#has_children}}{{> navigation\/flyout\/list}}{{\/has_children}}\n<\/li>\n","navigation\/flyout\/list":"<div class=\"wsite-menu-wrap\" style=\"display:none\">\n\t<ul class=\"wsite-menu\">\n\t\t{{#children}}{{> navigation\/flyout\/item}}{{\/children}}\n\t<\/ul>\n<\/div>\n","navigation\/flyout\/item":"<li {{#id}}id=\"{{id}}\"{{\/id}}\n\tclass=\"wsite-menu-subitem-wrap {{#is_current}}wsite-nav-current{{\/is_current}}\"\n\t>\n\t<a\n\t\t{{^nonclickable}}\n\t\t\t{{^nav_menu}}\n\t\t\t\thref=\"{{url}}\"\n\t\t\t{{\/nav_menu}}\n\t\t{{\/nonclickable}}\n\t\t{{#target}}\n\t\t\ttarget=\"{{target}}\"\n\t\t{{\/target}}\n\t\tclass=\"wsite-menu-subitem\"\n\t\t>\n\t\t<span class=\"wsite-menu-title\">\n\t\t\t{{{title_html}}}\n\t\t<\/span>{{#has_children}}<span class=\"wsite-menu-arrow\">&gt;<\/span>{{\/has_children}}\n\t<\/a>\n\t{{#has_children}}{{> navigation\/flyout\/list}}{{\/has_children}}\n<\/li>\n"},
			{}
		)
	}
//-->
</script>
		
		
	</head>
	<body class="no-header  wsite-page-404  full-width-on  wsite-theme-light"><div class="body-wrap">

	<div id="header">
		<div class="nav-trigger hamburger">
			<div class="open-btn">
				<span class="mobile"></span>
				<span class="mobile"></span>
				<span class="mobile"></span>
			</div>
		</div>
		<div id="sitename"><span class="wsite-logo">

	<a href="/">
		<img src="/uploads/9/5/1/8/95186694/1479763454.png" style="margin-top:-24px;" alt="retiredbrains.com" />
	</a>

</span></div>
	</div>

	<div id="wrapper">
		<div class="bg-wrapper">
			<div id="navigation"><ul class="wsite-menu-default">
		<li id="pg811031088245069864" class="wsite-menu-item-wrap">
			<a
						href="/"
				class="wsite-menu-item"
				>
				Home
			</a>
			
		</li>
		<li id="pg303730534723082360" class="wsite-menu-item-wrap">
			<a
						href="/jobs--work.html"
				class="wsite-menu-item"
				>
				Jobs & Work
			</a>
			<div class="wsite-menu-wrap" style="display:none">
	<ul class="wsite-menu">
		<li id="wsite-nav-374734180377035004"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/employers.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Employers
		</span><span class="wsite-menu-arrow">&gt;</span>
	</a>
	<div class="wsite-menu-wrap" style="display:none">
	<ul class="wsite-menu">
		<li id="wsite-nav-122784572363062861"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="http://careers.tempandparttimejobs.com/jobs/user/createEmployer?rd=http%3A%2F%2Ftempandparttimejobs.com%2Fcareers%2Femployer%2Findex"
			target="_blank"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Account Login
		</span>
	</a>
	
</li>
<li id="wsite-nav-183471813646784967"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="http://careers.tempandparttimejobs.com/jobs/user/createEmployer?rd=http%3A%2F%2Ftempandparttimejobs.com%2Fcareers%2Femployer%2Findex"
			target="_blank"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Create Account
		</span>
	</a>
	
</li>

	</ul>
</div>

</li>
<li id="wsite-nav-129363855742618780"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/job-seekers.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Job Seekers
		</span><span class="wsite-menu-arrow">&gt;</span>
	</a>
	<div class="wsite-menu-wrap" style="display:none">
	<ul class="wsite-menu">
		<li id="wsite-nav-706218866187365524"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="http://careers.tempandparttimejobs.com/jobs/user/login?rd=http%3A%2F%2Ftempandparttimejobs.com%2Fcareers%2Fjobseeker"
			target="_blank"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Account Login
		</span>
	</a>
	
</li>
<li id="wsite-nav-391736645549037517"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="http://careers.tempandparttimejobs.com/jobs/user/login?rd=http%3A%2F%2Ftempandparttimejobs.com%2Fcareers%2Fjobseeker"
			target="_blank"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Create Account
		</span>
	</a>
	
</li>

	</ul>
</div>

</li>
<li id="wsite-nav-218817292615079381"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/work-at-home.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Work at Home
		</span><span class="wsite-menu-arrow">&gt;</span>
	</a>
	<div class="wsite-menu-wrap" style="display:none">
	<ul class="wsite-menu">
		<li id="wsite-nav-324830206938328940"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/become-a-chef-consultant.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Become a Chef Consultant
		</span>
	</a>
	
</li>
<li id="wsite-nav-268158849601628260"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/become-a-tutor.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Become a Tutor
		</span>
	</a>
	
</li>
<li id="wsite-nav-825156564957808639"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/become-a-virtual-agent.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Become a Virtual Agent
		</span>
	</a>
	
</li>
<li id="wsite-nav-103040581135323900"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/care-giving.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Care Giving
		</span>
	</a>
	
</li>
<li id="wsite-nav-324693100391725500"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/direct-selling.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Direct Selling
		</span>
	</a>
	
</li>
<li id="wsite-nav-594161385657094913"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/freelancing.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Freelancing
		</span>
	</a>
	
</li>
<li id="wsite-nav-299608556413571459"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/medical-transcription.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Medical Transcription
		</span>
	</a>
	
</li>
<li id="wsite-nav-910566353296659324"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/selling-at-a-flea-market.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Selling at a Flea Market
		</span>
	</a>
	
</li>
<li id="wsite-nav-899897898728575829"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/selling-online.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Selling Online
		</span>
	</a>
	
</li>
<li id="wsite-nav-150900282267418346"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/telemarketing.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Telemarketing
		</span>
	</a>
	
</li>
<li id="wsite-nav-661502415670271948"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/translate-online.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Translate Online
		</span>
	</a>
	
</li>
<li id="wsite-nav-182903576487433450"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/write-or-edit.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Write or Edit
		</span>
	</a>
	
</li>
<li id="wsite-nav-785954076165296097"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/workers-with-disabilities.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Workers with Disabilities
		</span>
	</a>
	
</li>
<li id="wsite-nav-231976815615653860"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/tech-jobs.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Tech Jobs
		</span>
	</a>
	
</li>

	</ul>
</div>

</li>
<li id="wsite-nav-576480662886944010"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/employment-assistance.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Employment Assistance
		</span>
	</a>
	
</li>
<li id="wsite-nav-565908654736174035"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/volunteering.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Volunteering
		</span>
	</a>
	
</li>

	</ul>
</div>

		</li>
		<li id="pg258035167410532960" class="wsite-menu-item-wrap">
			<a
						href="/home--family.html"
				class="wsite-menu-item"
				>
				Home & Family
			</a>
			<div class="wsite-menu-wrap" style="display:none">
	<ul class="wsite-menu">
		<li id="wsite-nav-712246322133193947"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/senior-living-resources.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Senior Living Resources
		</span>
	</a>
	
</li>
<li id="wsite-nav-706181085242192311"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/grief-loss-support.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Grief Loss Support
		</span>
	</a>
	
</li>
<li id="wsite-nav-712050894509553749"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/get-a-dog-or-a-cat.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Get a Dog or a Cat
		</span>
	</a>
	
</li>
<li id="wsite-nav-632815647178523077"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/books-on-retirement.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Books on Retirement
		</span>
	</a>
	
</li>
<li id="wsite-nav-155990221230010852"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/dating-and-companionship.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Dating and Companionship
		</span>
	</a>
	
</li>

	</ul>
</div>

		</li>
		<li id="pg506210949555971702" class="wsite-menu-item-wrap">
			<a
						href="/travel--entertainment.html"
				class="wsite-menu-item"
				>
				Travel & Entertainment
			</a>
			<div class="wsite-menu-wrap" style="display:none">
	<ul class="wsite-menu">
		<li id="wsite-nav-146197688117422429"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/boomer-and-senior-travel.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Boomer and Senior Travel
		</span>
	</a>
	
</li>

	</ul>
</div>

		</li>
		<li id="pg400931598539517859" class="wsite-menu-item-wrap">
			<a
						href="/money.html"
				class="wsite-menu-item"
				>
				Money
			</a>
			<div class="wsite-menu-wrap" style="display:none">
	<ul class="wsite-menu">
		<li id="wsite-nav-399052997556204159"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/insurance-services.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Insurance Services
		</span>
	</a>
	
</li>
<li id="wsite-nav-822224621463707256"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/social-security.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Social Security
		</span>
	</a>
	
</li>
<li id="wsite-nav-441208709553512653"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/retirement-resources.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Retirement Resources
		</span>
	</a>
	
</li>
<li id="wsite-nav-127040338533579907"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/identity-theft--scams.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Identity Theft & Scams
		</span>
	</a>
	
</li>

	</ul>
</div>

		</li>
		<li id="pg899985403365487353" class="wsite-menu-item-wrap">
			<a
						href="/health.html"
				class="wsite-menu-item"
				>
				Health
			</a>
			<div class="wsite-menu-wrap" style="display:none">
	<ul class="wsite-menu">
		<li id="wsite-nav-733284864860896541"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/medicare.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Medicare
		</span>
	</a>
	
</li>
<li id="wsite-nav-135411990625279814"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/health-care.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Health Care
		</span>
	</a>
	
</li>

	</ul>
</div>

		</li>
		<li id="pg815610209243690625" class="wsite-menu-item-wrap">
			<a
						href="/discounts.html"
				class="wsite-menu-item"
				>
				Discounts
			</a>
			<div class="wsite-menu-wrap" style="display:none">
	<ul class="wsite-menu">
		<li id="wsite-nav-309352169912679587"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/products--services.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Products & Services
		</span>
	</a>
	
</li>

	</ul>
</div>

		</li>
		<li id="pg793403357257722865" class="wsite-menu-item-wrap">
			<a
						href="/blog.html"
				class="wsite-menu-item"
				>
				Blog
			</a>
			
		</li>
</ul>
</div>
			<div id="content-wrapper">
				<div id="wsite-content" class="wsite-elements wsite-not-footer">
	<div class="wsite-section-wrap">
	<div class="wsite-section wsite-body-section wsite-background-290 wsite-custom-background"  >
		<div class="wsite-section-content">
					<div class="container">
			<div class="wsite-section-elements">
				<div><div id="637176411414495715" align="center" style="width: 100%; overflow-y: hidden;" class="wcustomhtml"><h1>The Page You Are Looking For Can Not Be Found</h1></div>



</div>

<div><div class="wsite-multicol"><div class="wsite-multicol-table-wrap" style="margin:0 -15px;">
	<table class="wsite-multicol-table">
		<tbody class="wsite-multicol-tbody">
			<tr class="wsite-multicol-tr">
				<td class="wsite-multicol-col" style="width:37.645914396887%; padding:0 15px;">
					
						

<div><div class="wsite-image wsite-image-border-none " style="padding-top:10px;padding-bottom:10px;margin-left:0;margin-right:0;text-align:center">
<a>
<img src="/uploads/9/5/1/8/95186694/zombie-521243-640_orig.jpg" alt="Picture" style="width:auto;max-width:100%" />
</a>
<div style="display:block;font-size:90%"></div>
</div></div>


					
				</td>				<td class="wsite-multicol-col" style="width:62.354085603113%; padding:0 15px;">
					
						

<div class="wsite-spacer" style="height:50px;"></div>

<h2 class="wsite-content-title" style="text-align:center;">Don't let the 404 Zombie eat your Retired Brains!</h2>

<div class="paragraph" style="text-align:center;">Let us help you find what you are looking for...</div>

<div style="text-align:center;"><div style="height: 10px; overflow: hidden;"></div>
<a class="wsite-button wsite-button-large wsite-button-highlight" href="/" >
<span class="wsite-button-inner">The Homepage</span>
</a>
<div style="height: 10px; overflow: hidden;"></div></div>

<div style="text-align:center;"><div style="height: 10px; overflow: hidden;"></div>
<a class="wsite-button wsite-button-large wsite-button-highlight" href="/employment-assistance.html" >
<span class="wsite-button-inner">Employment Assistance</span>
</a>
<div style="height: 10px; overflow: hidden;"></div></div>

<div style="text-align:center;"><div style="height: 10px; overflow: hidden;"></div>
<a class="wsite-button wsite-button-large wsite-button-highlight" href="/senior-living-resources.html" >
<span class="wsite-button-inner">Senior Living Resources</span>
</a>
<div style="height: 10px; overflow: hidden;"></div></div>

<div style="text-align:center;"><div style="height: 10px; overflow: hidden;"></div>
<a class="wsite-button wsite-button-large wsite-button-highlight" href="/boomer-and-senior-travel.html" >
<span class="wsite-button-inner">Boomer and Senior Travel</span>
</a>
<div style="height: 10px; overflow: hidden;"></div></div>

<div style="text-align:center;"><div style="height: 10px; overflow: hidden;"></div>
<a class="wsite-button wsite-button-large wsite-button-highlight" href="/retirement-resources.html" >
<span class="wsite-button-inner">Retirement Resources</span>
</a>
<div style="height: 10px; overflow: hidden;"></div></div>

<div style="text-align:center;"><div style="height: 10px; overflow: hidden;"></div>
<a class="wsite-button wsite-button-large wsite-button-highlight" href="/health.html" >
<span class="wsite-button-inner">Healthcare / Medicare</span>
</a>
<div style="height: 10px; overflow: hidden;"></div></div>

<div style="text-align:center;"><div style="height: 10px; overflow: hidden;"></div>
<a class="wsite-button wsite-button-large wsite-button-highlight" href="/discounts.html" >
<span class="wsite-button-inner">Discounts and Services</span>
</a>
<div style="height: 10px; overflow: hidden;"></div></div>


					
				</td>			</tr>
		</tbody>
	</table>
</div></div></div>
			</div>
		</div>
				</div>

	</div>
</div>

</div>

			</div>
		</div>
		<div id="footer">
			<div id="footer-content"><div class='wsite-elements wsite-footer'>
<div><div class="wsite-multicol"><div class="wsite-multicol-table-wrap" style="margin:0 -15px;">
	<table class="wsite-multicol-table">
		<tbody class="wsite-multicol-tbody">
			<tr class="wsite-multicol-tr">
				<td class="wsite-multicol-col" style="width:25%; padding:0 15px;">
					
						

<h2 class="wsite-content-title" style="text-align:center;">Employment Resources</h2>

<div class="paragraph"><ul><li><a href="/">Employment Assistance Info</a></li><li><a href="/job-seeker-info.html">Job Seeker Information</a></li><li><a href="/find-temporary-jobs.html">Find Temporary Jobs</a></li><li><a href="/resume-writing-help.html">Resume Writing Help</a></li><li><a href="/part-time--temp-jobs-list.html">Part-Time and Temp Jobs List</a></li><li><a href="/seasonal-jobs.html">Seasonal Jobs</a></li><li><a href="/search-jobs.html">Search Jobs</a></li><li><a href="/where-are-the-jobs.html">Where are the Jobs</a></li><li><a href="/jobs-for-the-over-50-crowd.html">Jobs for the Over 50 Crowd</a></li><li><a href="/research-urls.html">Research URL's</a></li></ul></div>


					
				</td>				<td class="wsite-multicol-col" style="width:25%; padding:0 15px;">
					
						

<h2 class="wsite-content-title" style="text-align:center;">Creating Income</h2>

<div class="paragraph"><ul><li><a href="/work-at-home.html">Work at Home</a></li><li><a href="/start-your-own-business.html">Start Your Own Business</a></li><li><a href="/increase-your-retirement-income.html">Increase Retirement Income</a></li><li><a href="/funding-your-retirement.html">Funding Your Retirement</a></li><li><a href="/retirement-planning.html">Retirement Planning</a></li><li><a href="/reverse-mortgage.html">Reverse Mortgage</a></li><li><a href="/apply-for-social-security.html">Apply for Social Security</a></li><li><a href="/working-and-benefits.html">Working &amp; Social Security Benefits</a></li><li><a href="/auto-insurance.html">Auto Insurance Savings</a></li><li><a href="/home-insurance.html">Home Insurance Savings</a></li></ul></div>


					
				</td>				<td class="wsite-multicol-col" style="width:25%; padding:0 15px;">
					
						

<h2 class="wsite-content-title" style="text-align:center;">Most Read Pages</h2>

<div class="paragraph"><ul><li><a href="/identity-theft--scams.html">Identity Theft &amp; Scams</a></li><li><a href="/volunteering.html">Volunteering</a></li><li><a href="/boomer-and-senior-travel.html">Boomer and Senior Discounts</a></li><li><a href="/products.html">Products</a></li><li><a href="/services.html">Services</a></li><li><a href="/continuing-education.html">Continuing Education</a></li><li><a href="/health-care.html">Healthcare</a></li><li><a href="/retirement-locations.html">Retirement Locations</a></li><li><a href="/boomer-and-senior-travel.html">Boomer and Senior Travel</a></li><li><a href="/franchise-list-and-costs.html">List of Franchises</a></li></ul></div>


					
				</td>				<td class="wsite-multicol-col" style="width:25%; padding:0 15px;">
					
						

<h2 class="wsite-content-title" style="text-align:center;">Resources/Info</h2>

<div class="paragraph"><ul><li>&#8203;<a href="/blog.html">Blog</a></li><li><a href="/about-us.html">About Us</a></li><li><a href="/contact-us.html">Contact Us</a></li><li><a href="/newsletter-sign-up.html">Sign-up for Newsletter</a></li><li><a href="/newsletter-archive.html">Newsletter</a></li><li><a href="/news.html">News</a></li><li><a href="/media.html">Media</a></li><li><a href="/advertising.html">Advertising Info</a></li><li><a href="/my-free-ebook.html">Free Ebooks</a></li></ul></div>


					
				</td>			</tr>
		</tbody>
	</table>
</div></div></div>

<div><div style="height: 10px; overflow: hidden; width: 100%;"></div>
<hr class="styled-hr" style="width:100%;"></hr>
<div style="height: 10px; overflow: hidden; width: 100%;"></div></div>

<div><div class="wsite-multicol"><div class="wsite-multicol-table-wrap" style="margin:0 -15px;">
	<table class="wsite-multicol-table">
		<tbody class="wsite-multicol-tbody">
			<tr class="wsite-multicol-tr">
				<td class="wsite-multicol-col" style="width:33.333333333333%; padding:0 15px;">
					
						

<div class="paragraph" style="text-align:left;">Copyright 2020 by Retired Brains</div>


					
				</td>				<td class="wsite-multicol-col" style="width:33.333333333333%; padding:0 15px;">
					
						

<div style="text-align:center;"><div style="height:0px;overflow:hidden"></div>
<span class="wsite-social wsite-social-default"><a class='first-child wsite-social-item wsite-social-twitter' href='http://twitter.com/artkoff' target='_blank' alt='Twitter'><span class='wsite-social-item-inner'></span></a><a class='wsite-social-item wsite-social-facebook' href='https://www.facebook.com/groups/137783154207/' target='_blank' alt='Facebook'><span class='wsite-social-item-inner'></span></a><a class='last-child wsite-social-item wsite-social-linkedin' href='https://www.linkedin.com/in/artkoffretiredbrains' target='_blank' alt='Linkedin'><span class='wsite-social-item-inner'></span></a></span>
<div style="height:0px;overflow:hidden"></div></div>


					
				</td>				<td class="wsite-multicol-col" style="width:33.333333333333%; padding:0 15px;">
					
						

<div class="paragraph" style="text-align:center;"><a href="/privacy-statement.html">Privacy Statement</a> &nbsp; &nbsp; | &nbsp; &nbsp; <a href="/terms-of-use.html">Terms Of Use</a></div>


					
				</td>			</tr>
		</tbody>
	</table>
</div></div></div>

<div><div style="height: 10px; overflow: hidden; width: 100%;"></div>
<hr class="styled-hr" style="width:100%;"></hr>
<div style="height: 10px; overflow: hidden; width: 100%;"></div></div>

<div class="paragraph"><font size="1"><strong>Disclaimer:</strong> We do our best to ensure the information on RetiredBrains.com is accurate and updated at all times; however, we are unable to guarantee the accuracy of all information. We make every attempt to keep the content up to date and factual. For the most current and complete product/service details please verify with the merchant, product, issuer, or service directly via their website or during the buying or application process. Please be aware that RetiredBrains may have a financial relationship with some of the sites included on our Website. RetiredBrains.com may receive compensation if users choose to click on the links located on certain pages of this website and sales and/or leads are generated. If legal advice or other expert assistance is required, the services of competent professional persons should be sought.</font></div></div></div>
		</div>
	</div>

	<div class="navmobile-wrapper">
		<div id="navmobile" class="nav"><ul class="wsite-menu-default">
		<li id="pg811031088245069864" class="wsite-menu-item-wrap">
			<a
						href="/"
				class="wsite-menu-item"
				>
				Home
			</a>
			
		</li>
		<li id="pg303730534723082360" class="wsite-menu-item-wrap">
			<a
						href="/jobs--work.html"
				class="wsite-menu-item"
				>
				Jobs & Work
			</a>
			<div class="wsite-menu-wrap" style="display:none">
	<ul class="wsite-menu">
		<li id="wsite-nav-374734180377035004"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/employers.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Employers
		</span><span class="wsite-menu-arrow">&gt;</span>
	</a>
	<div class="wsite-menu-wrap" style="display:none">
	<ul class="wsite-menu">
		<li id="wsite-nav-122784572363062861"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="http://careers.tempandparttimejobs.com/jobs/user/createEmployer?rd=http%3A%2F%2Ftempandparttimejobs.com%2Fcareers%2Femployer%2Findex"
			target="_blank"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Account Login
		</span>
	</a>
	
</li>
<li id="wsite-nav-183471813646784967"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="http://careers.tempandparttimejobs.com/jobs/user/createEmployer?rd=http%3A%2F%2Ftempandparttimejobs.com%2Fcareers%2Femployer%2Findex"
			target="_blank"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Create Account
		</span>
	</a>
	
</li>

	</ul>
</div>

</li>
<li id="wsite-nav-129363855742618780"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/job-seekers.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Job Seekers
		</span><span class="wsite-menu-arrow">&gt;</span>
	</a>
	<div class="wsite-menu-wrap" style="display:none">
	<ul class="wsite-menu">
		<li id="wsite-nav-706218866187365524"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="http://careers.tempandparttimejobs.com/jobs/user/login?rd=http%3A%2F%2Ftempandparttimejobs.com%2Fcareers%2Fjobseeker"
			target="_blank"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Account Login
		</span>
	</a>
	
</li>
<li id="wsite-nav-391736645549037517"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="http://careers.tempandparttimejobs.com/jobs/user/login?rd=http%3A%2F%2Ftempandparttimejobs.com%2Fcareers%2Fjobseeker"
			target="_blank"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Create Account
		</span>
	</a>
	
</li>

	</ul>
</div>

</li>
<li id="wsite-nav-218817292615079381"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/work-at-home.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Work at Home
		</span><span class="wsite-menu-arrow">&gt;</span>
	</a>
	<div class="wsite-menu-wrap" style="display:none">
	<ul class="wsite-menu">
		<li id="wsite-nav-324830206938328940"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/become-a-chef-consultant.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Become a Chef Consultant
		</span>
	</a>
	
</li>
<li id="wsite-nav-268158849601628260"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/become-a-tutor.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Become a Tutor
		</span>
	</a>
	
</li>
<li id="wsite-nav-825156564957808639"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/become-a-virtual-agent.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Become a Virtual Agent
		</span>
	</a>
	
</li>
<li id="wsite-nav-103040581135323900"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/care-giving.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Care Giving
		</span>
	</a>
	
</li>
<li id="wsite-nav-324693100391725500"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/direct-selling.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Direct Selling
		</span>
	</a>
	
</li>
<li id="wsite-nav-594161385657094913"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/freelancing.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Freelancing
		</span>
	</a>
	
</li>
<li id="wsite-nav-299608556413571459"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/medical-transcription.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Medical Transcription
		</span>
	</a>
	
</li>
<li id="wsite-nav-910566353296659324"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/selling-at-a-flea-market.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Selling at a Flea Market
		</span>
	</a>
	
</li>
<li id="wsite-nav-899897898728575829"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/selling-online.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Selling Online
		</span>
	</a>
	
</li>
<li id="wsite-nav-150900282267418346"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/telemarketing.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Telemarketing
		</span>
	</a>
	
</li>
<li id="wsite-nav-661502415670271948"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/translate-online.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Translate Online
		</span>
	</a>
	
</li>
<li id="wsite-nav-182903576487433450"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/write-or-edit.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Write or Edit
		</span>
	</a>
	
</li>
<li id="wsite-nav-785954076165296097"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/workers-with-disabilities.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Workers with Disabilities
		</span>
	</a>
	
</li>
<li id="wsite-nav-231976815615653860"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/tech-jobs.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Tech Jobs
		</span>
	</a>
	
</li>

	</ul>
</div>

</li>
<li id="wsite-nav-576480662886944010"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/employment-assistance.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Employment Assistance
		</span>
	</a>
	
</li>
<li id="wsite-nav-565908654736174035"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/volunteering.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Volunteering
		</span>
	</a>
	
</li>

	</ul>
</div>

		</li>
		<li id="pg258035167410532960" class="wsite-menu-item-wrap">
			<a
						href="/home--family.html"
				class="wsite-menu-item"
				>
				Home & Family
			</a>
			<div class="wsite-menu-wrap" style="display:none">
	<ul class="wsite-menu">
		<li id="wsite-nav-712246322133193947"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/senior-living-resources.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Senior Living Resources
		</span>
	</a>
	
</li>
<li id="wsite-nav-706181085242192311"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/grief-loss-support.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Grief Loss Support
		</span>
	</a>
	
</li>
<li id="wsite-nav-712050894509553749"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/get-a-dog-or-a-cat.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Get a Dog or a Cat
		</span>
	</a>
	
</li>
<li id="wsite-nav-632815647178523077"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/books-on-retirement.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Books on Retirement
		</span>
	</a>
	
</li>
<li id="wsite-nav-155990221230010852"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/dating-and-companionship.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Dating and Companionship
		</span>
	</a>
	
</li>

	</ul>
</div>

		</li>
		<li id="pg506210949555971702" class="wsite-menu-item-wrap">
			<a
						href="/travel--entertainment.html"
				class="wsite-menu-item"
				>
				Travel & Entertainment
			</a>
			<div class="wsite-menu-wrap" style="display:none">
	<ul class="wsite-menu">
		<li id="wsite-nav-146197688117422429"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/boomer-and-senior-travel.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Boomer and Senior Travel
		</span>
	</a>
	
</li>

	</ul>
</div>

		</li>
		<li id="pg400931598539517859" class="wsite-menu-item-wrap">
			<a
						href="/money.html"
				class="wsite-menu-item"
				>
				Money
			</a>
			<div class="wsite-menu-wrap" style="display:none">
	<ul class="wsite-menu">
		<li id="wsite-nav-399052997556204159"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/insurance-services.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Insurance Services
		</span>
	</a>
	
</li>
<li id="wsite-nav-822224621463707256"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/social-security.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Social Security
		</span>
	</a>
	
</li>
<li id="wsite-nav-441208709553512653"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/retirement-resources.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Retirement Resources
		</span>
	</a>
	
</li>
<li id="wsite-nav-127040338533579907"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/identity-theft--scams.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Identity Theft & Scams
		</span>
	</a>
	
</li>

	</ul>
</div>

		</li>
		<li id="pg899985403365487353" class="wsite-menu-item-wrap">
			<a
						href="/health.html"
				class="wsite-menu-item"
				>
				Health
			</a>
			<div class="wsite-menu-wrap" style="display:none">
	<ul class="wsite-menu">
		<li id="wsite-nav-733284864860896541"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/medicare.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Medicare
		</span>
	</a>
	
</li>
<li id="wsite-nav-135411990625279814"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/health-care.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Health Care
		</span>
	</a>
	
</li>

	</ul>
</div>

		</li>
		<li id="pg815610209243690625" class="wsite-menu-item-wrap">
			<a
						href="/discounts.html"
				class="wsite-menu-item"
				>
				Discounts
			</a>
			<div class="wsite-menu-wrap" style="display:none">
	<ul class="wsite-menu">
		<li id="wsite-nav-309352169912679587"
	class="wsite-menu-subitem-wrap "
	>
	<a
				href="/products--services.html"
		class="wsite-menu-subitem"
		>
		<span class="wsite-menu-title">
			Products & Services
		</span>
	</a>
	
</li>

	</ul>
</div>

		</li>
		<li id="pg793403357257722865" class="wsite-menu-item-wrap">
			<a
						href="/blog.html"
				class="wsite-menu-item"
				>
				Blog
			</a>
			
		</li>
</ul>
</div>
	</div>

</div>


<script language="javascript" src="/files/theme/plugins.js?1484091284"></script>
<script language="javascript" src="/files/theme/custom.js?1484091284"></script>
<script language="javascript" src="/files/theme/mobile.js?1484091284"></script>

    <div id="customer-accounts-app"></div>
    <script src="//cdn2.editmysite.com/js/site/main-customer-accounts-site.js?buildTime=1603388223"></script>

		<script type="text/javascript">
	var _gaq = _gaq || [];
	_gaq.push(['_setAccount', 'UA-7870337-1']);
	_gaq.push(['_setDomainName', 'none']);
	_gaq.push(['_setAllowLinker', true]);

	(function() {
		var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
		ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
		var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	})();

	_W.Analytics = _W.Analytics || {'trackers': {}};
	_W.Analytics.trackers.wGA = '_gaq';
</script>

<script type="text/javascript" async=1>
	;(function(p,l,o,w,i,n,g){if(!p[i]){p.GlobalSnowplowNamespace=p.GlobalSnowplowNamespace||[];
			p.GlobalSnowplowNamespace.push(i);p[i]=function(){(p[i].q=p[i].q||[]).push(arguments)
			};p[i].q=p[i].q||[];n=l.createElement(o);g=l.getElementsByTagName(o)[0];n.async=1;
			n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,'script','//cdn2.editmysite.com/js/wsnbn/snowday262.js','snowday'));

	var r = [99, 104, 101, 99, 107, 111, 117, 116, 46, 40, 119, 101, 101, 98, 108, 121, 124, 101, 100, 105, 116, 109, 121, 115, 105, 116, 101, 41, 46, 99, 111, 109];
	var snPlObR = function(arr) {
		var s = '';
		for (var i = 0 ; i < arr.length ; i++){
			s = s + String.fromCharCode(arr[i]);
		}
		return s;
	};
	var s = snPlObR(r);

	var regEx = new RegExp(s);

	_W.Analytics = _W.Analytics || {'trackers': {}};
	_W.Analytics.trackers.wSP = 'snowday';
	_W.Analytics.user_id = '95186694';
	_W.Analytics.site_id = '624966021707914031';

	// Setting do not track if the GDPR cookie is not present. This is then checked by the snowday initializer
	// to set tracking decisions. https://github.com/snowplow/snowplow-javascript-tracker/blob/2.6.2/src/js/tracker.js#L1509
	window.doNotTrack = document.cookie.indexOf('gdpr-kb') === -1 ? 'yes' : null;

	var drSegmentsTag = document.getElementById('drSegments');
	if (drSegmentsTag) {
		_W.Analytics.spContexts = _W.Analytics.spContexts || [];

		var segmentData = JSON.parse(drSegmentsTag.innerText);
		segmentData.forEach(function(test) {
			_W.Analytics.spContexts.push({
				schema: "iglu:com.weebly/context_ab_segment/jsonschema/1-0-0",
				data: {
					test_id: test.name,
					segment: test.variant,
				}
			});
		});
	}


	(function(app_id, ec_hostname, discover_root_domain) {
		var track = window[_W.Analytics.trackers.wSP];
		if (!track) return;
		track('newTracker', app_id, ec_hostname, {
			appId: app_id,
			post: true,
			platform: 'web',
			discoverRootDomain: discover_root_domain,
			cookieName: '_snow_',
			contexts: {
				webPage: true,
				performanceTiming: true,
				gaCookies: true
			},
			crossDomainLinker: function (linkElement) {
				return regEx.test(linkElement.href);
			},
			respectDoNotTrack: document.cookie.indexOf('gdpr-kb') === -1
		});
		track('trackPageView', _W.Analytics.user_id+':'+_W.Analytics.site_id, _W.Analytics.spContexts);
		track('crossDomainLinker', function (linkElement) {
			return regEx.test(linkElement.href);
		});
	})(
		'_wn',
		'ec.editmysite.com',
		true
	);
</script>





<script>
	(function(jQuery) {
		try {
			if (jQuery) {
				jQuery('div.blog-social div.fb-like').attr('class', 'blog-social-item blog-fb-like');
				var $commentFrame = jQuery('#commentArea iframe');
				if ($commentFrame.length > 0) {
					var frameHeight = jQuery($commentFrame[0].contentWindow.document).height() + 50;
					$commentFrame.css('min-height', frameHeight + 'px');
				}
				if (jQuery('.product-button').length > 0){
					jQuery(document).ready(function(){
						jQuery('.product-button').parent().each(function(index, product){
							if(jQuery(product).attr('target') == 'paypal'){
								if (!jQuery(product).find('> [name="bn"]').length){
									jQuery('<input>').attr({
										type: 'hidden',
										name: 'bn',
										value: 'DragAndDropBuil_SP_EC'
									}).appendTo(product);
								}
							}
						});
					});
				}
			}
			else {
				// Prototype
				$$('div.blog-social div.fb-like').each(function(div) {
					div.className = 'blog-social-item blog-fb-like';
				});
				$$('#commentArea iframe').each(function(iframe) {
					iframe.style.minHeight = '410px';
				});
			}
		}
		catch(ex) {}
	})(window._W && _W.jQuery);
</script>

<script>
	window._W.isEUUser = false;
	window._W.showCookieToAll = "";
</script>


	</body>
</html>
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">sixteen-nine.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: ext-cyber@argo.ai
Preferred-Languages: en
Canonical: https://argo.ai/.well-known/security.txt
Hiring: https://www.argo.ai/join-us/

 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">umrechnung.org</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">zipby.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">11upmovies.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: jmarti@lf1.cuni.cz 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">theteakline.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Lcu5toZAAAAAI8UNLCSZoCxRF3xBvPjL3HrGQTv"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# Based on https://securitytxt.org/
Canonical: https://opencagedata.com/.well-known/security.txt

Contact: mailto:security@opencagedata.com
Contact: https://opencagedata.com/contact
Encryption: https://opencagedata.com/pgp-key.txt
Preferred-Languages: en, de

Policy: https://opencagedata.com/security-bounty
 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Contact: security@liferay.com
Encryption: https://www.liferay.com/.well-known/pgp-key.txt
Acknowledgments: https://portal.liferay.dev/people/hall-of-fame/security-reporters
Preferred-Languages: en
Canonical: https://liferay.dev/.well-known/security.txt
Policy: https://www.liferay.com/security-statement
Expires: Fri, 31 Dec 2021 23:59:59 +0000
-----BEGIN PGP SIGNATURE-----

iQFJBAEBCAAzFiEEkyWmm2ge76falBIz0rVz0opHoP8FAl/J1ZAVHHNlY3VyaXR5
QGxpZmVyYXkuY29tAAoJENK1c9KKR6D/BVcH/1QucFXsagUx0QoqHRgVk1F6wL2W
ZrZS6PhL5c1F2s9MJpKAdnQlQHPECyykDC5Fh2qxJcPDsRBfNTSTDx6hpfJJiIWV
j0qoIypoWWjRsQHdYzNRo7Xl4fqIJoicqjATCcA7nN0BO8ayTUdOTRhL2CcLO7KP
cn/rQdhZCu06sfVC6JYuOMugUF3J3/6EuhmHaeiIo8cmRfcTE5eTM8m/jefzBizd
+g3xuTQSO7HR5XPDn47Wxyn494m0nFuEkgRBRYKAXYGO/wQpoKfGNh4lijfKYCvU
u/Gbx+1nQyyofkCdv+d95SRofchthAQgsp3gtHJtbYGNhIRhEqqOxYtXBQE=
=80vx
-----END PGP SIGNATURE----- 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cannabisshops420.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Ld55NoZAAAAALxD_DeEKQcLc40jWSV1DMCOIgaX"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">hitricks.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bucacadde.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">xieetuq.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">feedsworld.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:garion.hall@abbywinters.com
Encryption: Not applicable
Acknowledgements: https://support.abbywinters.com/i-found-a-security-vulnerability-in-your-site-how-does-your-bounty-system-work/
Policy: https://support.abbywinters.com/i-found-a-security-vulnerability-in-your-site-how-does-your-bounty-system-work/
Signature: 
Hiring: https://careers.abbywinters.com/

 1
# Contact us at: read this page
Contact: https://www.wikidex.net/wiki/WikiDex%3AContacto
# Despite this file having a defined syntax, the primary purpose is to be readable *by humans*, not machines.
# Humans should know how to "decipher" this email address
Contact: contacto ($) wikidex.net
Contact: https://twitter.com/WikiDexOficial

Preferred-Languages: es, en
# End of file

 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">kamalaya.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">douchegames.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<html><head><meta charset='utf-8'><body><script>function myfun(){document.cookie='wtime=1605604206;';document.cookie='wtoken=ciwo8jexC0A';window.location.href='http://tu4848.com/.well-known/security.txt';}window.onload=myfun;</script></body></html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">aocph.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">disforge.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">canadagooseukjackets.me.uk</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: https://www.streetcheck.co.uk/about/contact
Contact: +44 1752 690 786 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">techforteam.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">lastoscasmultimedios.com.ar</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Lc8cekZAAAAAMuJuxUruc-EmGeynvruJA51MD3B"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">miniavm.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">balikesirdespor.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ajabgjab.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">droidholic.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">movies-store.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">hostingspell.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">geoflix.me</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">clubpenguinland.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cheapreplicawatches.com.co</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: https://paythem.net/contact
Preferred-Languages: en 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">filmesonlinex.co</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">iblp.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">adivery.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">festivalenescu.ro</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">kavuntv.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# Please disclose security issues responsibly and not publicly.
Contact: https://theseoframework.com/contact/
Preferred-Languages: en, nl
# Acknowledgements: Will you be the first?
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">vpnclub.cc</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">funtop.tw</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
ip cannot access 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ginafordinfo.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LdG59oZAAAAACunHfRVQGYNQUl3m-Es6Wyiu3EA"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:sec@adsrv.org 1
Access Denied

Your IP: 178.128.0.34 is listed on RBL: cbl.abuseat.org.
Ask your ISP to remove this IP from RBL.
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">1pillepreis.space</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Lcu5toZAAAAAI8UNLCSZoCxRF3xBvPjL3HrGQTv"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">sehsshomecare.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">freeclassifieds4u.in</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: security@agilebits.com

# More info at: https://1password.com/.well-known/security.txt
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">psychotherapie.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">enlaradio.com.ar</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:messenger@rekruter.de
Preferred-Languages: de
Canonical: https://www.rekruter.de
Policy: https://www.rekruter.de/impressum/datenschutz.lasso
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">nusaparadiseadventure.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">creativepixelmag.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:emkei@soom.cz
Encryption: https://emkei.cz/.well-known/key.asc
Signature: https://emkei.cz/.well-known/security.txt.sig
 1
Contact: security@fraud.net
Preferred-Languages: en
Canonical: https://fraud.net/.well-known/security.txt
Policy: https://fraud.net/security-policy/
Hiring: https://fraud.net/jobs/ 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">acuff.me</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdUMfsZAAAAALA4iL5cot21gKs_5KCdV5AKCeOh"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">webhoster.de</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">burberrysaleoutlet.com.co</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:hello@padlet.com
Hiring: https://padlet.jobs
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">addocker.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">gocurrycracker.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mgnetu.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">tech4gamers.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfvptUZAAAAACNDXmTWsFWmBjSHy4FXt5bmi-Vv"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:admin@similarworlds.com
Preferred-Languages: en
Canonical: https://similarworlds.com/.well-known/security.txt
 1
Deny
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">beyondmeresustenance.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: tomas.dvorsky@akumulator.digital
Contact: podpora@akumulator.digital
Preferred-Languages: cs, en
Canonical: https://www.generalbytes.com/.well-known/security.txt 1
Contact: mailto:presse@maladiecoronavirus.fr
Preferred-Languages: en,fr
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">buy-tenormin.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">pinchunimshah.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">uggbootsclearance.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="robots" content="noarchive"> <meta name="keywords" content="&#107;&#101;&#121;&#119;&#111;&#114;&#100;&#115;&#95;&#116;&#101;&#109;&#112;" />
<meta name="description" content="&#100;&#101;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;&#95;&#116;&#101;&#109;&#112;">

<meta http-equiv="Content-Type" content="text/html; charset=gbk2312" />
<title></title>
<script src="/magnify-fistgo.js"></script>
<meta http-equiv="Cache-Control" content="no-transform" />
<script>var V_PATH="/";window.onerror=function(){ return true; };</script>
</head>

<body style="   padding:0; margin:0; font:14px/1.5 Microsoft Yahei, 
,sans-serif; color:#555;">

<div   id="wq19jbpc3a"    style="margin:0 auto;width:980px;">
      <div   id="wq19jbpc3a"    style="background: url('http://404.safedog.cn/images/safedogsite/head.png') no-repeat;height:300px;">
      	<div   id="wq19jbpc3a"    style="width:300px;height:300px;cursor:pointer;background:#f00;filter: alpha(opacity=0); opacity: 0;float:left;" onclick="location.href='http://www.safedog.cn'">
      	</div>
      	<div   id="wq19jbpc3a"    style="float:right;width:430px;height:100px;padding-top:90px;padding-right:90px;font-size:22px;">
      		<p id="error_code_p"><a  id="eCode">404</a><span style="font-size:16px;padding-left:15px;">(ڷϲ鿴Ϣ)</span></p>
      		<p id="eMsg"></p>
      	
	      <a href="#" onclick="redirectToHost();" style="color:#139ff8; font-size:16px; text-decoration:none;padding-left: 20px;">һ>></a>
      	</div>
      </div>	
</div>



<div   id="wq19jbpc3a"    style="width:1000px; margin:0 auto; "> 
    <div   id="wq19jbpc3a"    style=" width:980px; margin:0 auto;">
  <div   id="wq19jbpc3a"    style="width:980px; height:600px; margin:0 auto;">
   
 </div>
  </div>
</div>
<script>
	(function(){
		var canonicalURL, curProtocol;
		//Get the <link> tag
		var x=document.getElementsByTagName("link");
		//Find the last canonical URL
		if(x.length > 0){
			for (i=0;i<x.length;i++){
				if(x[i].rel.toLowerCase() == 'canonical' && x[i].href){
					canonicalURL=x[i].href;
				}
			}
		}
		//Get protocol
	    if (!canonicalURL){
	    	curProtocol = window.location.protocol.split(':')[0];
	    }
	    else{
	    	curProtocol = canonicalURL.split(':')[0];
	    }
	    //Get current URL if the canonical URL does not exist
	    if (!canonicalURL) canonicalURL = window.location.href;
	    //Assign script content. Replace current URL with the canonical URL
    	!function(){var e=/([http|https]:\/\/[a-zA-Z0-9\_\.]+\.baidu\.com)/gi,r=canonicalURL,t=document.referrer;if(!e.test(r)){var n=(String(curProtocol).toLowerCase() === 'https')?"https://sp0.baidu.com/9_Q4simg2RQJ8t7jm9iCKT-xh_/s.gif":"//api.share.baidu.com/s.gif";t?(n+="?r="+encodeURIComponent(document.referrer),r&&(n+="&l="+r)):r&&(n+="?l="+r);var i=new Image;i.src=n}}(window);})();
</script><script>var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?be055eb5acfdc25d3bd72279b8418725";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();</script>

<script>
(function(){
    var bp = document.createElement('script');
    var curProtocol = window..protocol.split(':')[0];
    if (curProtocol === 'https') {
        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
    }
    else {
        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
    }
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(bp, s);
})();
</body>
<div id="pl_css_ganrao" style="display: none;"><pre id='2dt49'><dl id='2dt49'></dl></pre><strike id='2dt49'></strike><p id='2dt49'><legend id='2dt49'></legend><noframes id='2dt49'><small id='2dt49'></small><noframes id='2dt49'></noframes></noframes></p><style id='2dt49'><q id='2dt49'></q></style><big id='2dt49'></big><form id='2dt49'></form><blockquote id='2dt49'><ul id='2dt49'><span id='2dt49'><b id='2dt49'><ol id='2dt49'><big id='2dt49'><span id='2dt49'></span></big></ol><small id='2dt49'></small><ol id='2dt49'><ul id='2dt49'><tbody id='2dt49'><fieldset id='2dt49'><strong id='2dt49'><li id='2dt49'><bdo id='2dt49'><abbr id='2dt49'></abbr></bdo><span id='2dt49'></span></li></strong></fieldset></tbody></ul></ol><legend id='2dt49'><noframes id='2dt49'><tbody id='2dt49'></tbody></noframes></legend></b><strong id='2dt49'></strong></span></ul></blockquote><center id='2dt49'><small id='2dt49'><ins id='2dt49'><td id='2dt49'><div id='2dt49'></div></td></ins></small></center><del id='2dt49'><p id='2dt49'></p><noscript id='2dt49'><small id='2dt49'><b id='2dt49'></b><style id='2dt49'></style><i id='2dt49'></i><small id='2dt49'><dl id='2dt49'></dl><fieldset id='2dt49'><form id='2dt49'><dt id='2dt49'><code id='2dt49'></code><code id='2dt49'><div id='2dt49'></div></code></dt></form></fieldset></small></small><thead id='2dt49'><kbd id='2dt49'></kbd><sup id='2dt49'><th id='2dt49'></th></sup></thead><sup id='2dt49'><strong id='2dt49'><i id='2dt49'></i></strong><small id='2dt49'><div id='2dt49'></div></small><ins id='2dt49'></ins></sup><legend id='2dt49'><table id='2dt49'></table></legend></noscript></del><li id='2dt49'><optgroup id='2dt49'></optgroup></li><label id='2dt49'></label><label id='2dt49'></label><sub id='2dt49'></sub><del id='2dt49'></del><em id='2dt49'><dd id='2dt49'></dd></em><small id='2dt49'></small><optgroup id='2dt49'><dfn id='2dt49'></dfn></optgroup><option id='2dt49'><tr id='2dt49'><code id='2dt49'></code></tr></option><fieldset id='2dt49'></fieldset><strong id='2dt49'></strong><noframes id='2dt49'><tfoot id='2dt49'></tfoot></noframes><q id='2dt49'><code id='2dt49'><select id='2dt49'></select></code></q><fieldset id='2dt49'><big id='2dt49'><tt id='2dt49'></tt></big><p id='2dt49'></p></fieldset><li id='2dt49'></li><li id='2dt49'></li><tfoot id='2dt49'></tfoot><small id='2dt49'></small><ul id='2dt49'></ul><option id='2dt49'></option><pre id='2dt49'><ins id='2dt49'></ins></pre><select id='2dt49'></select><ins id='2dt49'><td id='2dt49'><i id='2dt49'></i></td><u id='2dt49'><code id='2dt49'><thead id='2dt49'><button id='2dt49'><thead id='2dt49'><option id='2dt49'></option></thead></button></thead></code><fieldset id='2dt49'><em id='2dt49'><big id='2dt49'></big></em></fieldset></u></ins><sup id='2dt49'><strong id='2dt49'></strong><del id='2dt49'></del></sup><label id='2dt49'></label><q id='2dt49'><b id='2dt49'><acronym id='2dt49'></acronym><div id='2dt49'><button id='2dt49'><table id='2dt49'></table><sup id='2dt49'><dd id='2dt49'><tfoot id='2dt49'></tfoot></dd><blockquote id='2dt49'><noframes id='2dt49'></noframes></blockquote></sup></button></div></b><div id='2dt49'><ul id='2dt49'><li id='2dt49'></li></ul></div></q><tfoot id='2dt49'><font id='2dt49'><i id='2dt49'><dd id='2dt49'></dd></i></font></tfoot><tr id='2dt49'><optgroup id='2dt49'></optgroup></tr><address id='2dt49'><tfoot id='2dt49'></tfoot><dd id='2dt49'></dd></address><option id='2dt49'><abbr id='2dt49'><style id='2dt49'></style><tt id='2dt49'></tt><font id='2dt49'></font><u id='2dt49'><tt id='2dt49'></tt></u></abbr></option><dd id='2dt49'><ol id='2dt49'></ol></dd><bdo id='2dt49'><acronym id='2dt49'><pre id='2dt49'></pre></acronym><b id='2dt49'><span id='2dt49'></span></b><form id='2dt49'></form></bdo><dl id='2dt49'></dl><thead id='2dt49'></thead><tt id='2dt49'><tt id='2dt49'></tt><sub id='2dt49'><i id='2dt49'><dt id='2dt49'></dt><p id='2dt49'></p></i></sub></tt><acronym id='2dt49'><dd id='2dt49'></dd></acronym><small id='2dt49'><acronym id='2dt49'><i id='2dt49'><label id='2dt49'><kbd id='2dt49'><form id='2dt49'><div id='2dt49'><strike id='2dt49'></strike></div></form></kbd></label></i></acronym><bdo id='2dt49'></bdo><strike id='2dt49'><table id='2dt49'></table></strike></small><strike id='2dt49'></strike><abbr id='2dt49'></abbr><tbody id='2dt49'></tbody><sup id='2dt49'></sup><code id='2dt49'><ul id='2dt49'><tfoot id='2dt49'></tfoot></ul></code><bdo id='2dt49'></bdo><tr id='2dt49'></tr><sup id='2dt49'></sup><abbr id='2dt49'></abbr><dfn id='2dt49'><dir id='2dt49'><p id='2dt49'></p></dir><small id='2dt49'><div id='2dt49'></div></small></dfn><th id='2dt49'><noscript id='2dt49'></noscript></th><address id='2dt49'><abbr id='2dt49'></abbr><big id='2dt49'></big></address><ol id='2dt49'><dd id='2dt49'><address id='2dt49'></address></dd></ol><sub id='2dt49'><optgroup id='2dt49'></optgroup><thead id='2dt49'></thead></sub><th id='2dt49'><del id='2dt49'></del></th><dd id='2dt49'><small id='2dt49'></small></dd><option id='2dt49'><thead id='2dt49'></thead></option><blockquote id='2dt49'></blockquote><option id='2dt49'></option><noframes id='2dt49'><legend id='2dt49'><style id='2dt49'><dir id='2dt49'><q id='2dt49'></q></dir></style></legend></noframes><u id='2dt49'></u><table id='2dt49'><table id='2dt49'><dir id='2dt49'><thead id='2dt49'><dl id='2dt49'><td id='2dt49'></td></dl></thead></dir><noframes id='2dt49'><i id='2dt49'><tr id='2dt49'><dt id='2dt49'><q id='2dt49'><span id='2dt49'><b id='2dt49'><form id='2dt49'><ins id='2dt49'></ins><ul id='2dt49'></ul><sub id='2dt49'></sub></form><legend id='2dt49'></legend><bdo id='2dt49'><pre id='2dt49'><center id='2dt49'></center></pre></bdo></b><th id='2dt49'></th></span></q></dt></tr></i></noframes><em id='2dt49'><optgroup id='2dt49'><dfn id='2dt49'><del id='2dt49'><code id='2dt49'></code></del></dfn></optgroup></em><noframes id='2dt49'><div id='2dt49'><tfoot id='2dt49'></tfoot><dl id='2dt49'><fieldset id='2dt49'></fieldset></dl></div></noframes><label id='2dt49'></label></table><tfoot id='2dt49'></tfoot></table><span id='2dt49'></span><dfn id='2dt49'></dfn><tr id='2dt49'></tr><th id='2dt49'><tt id='2dt49'></tt><dd id='2dt49'></dd></th><optgroup id='2dt49'></optgroup><blockquote id='2dt49'></blockquote><center id='2dt49'></center><em id='2dt49'><kbd id='2dt49'></kbd><li id='2dt49'><span id='2dt49'></span></li><pre id='2dt49'></pre></em><ol id='2dt49'><tt id='2dt49'><label id='2dt49'><kbd id='2dt49'></kbd></label></tt></ol><sub id='2dt49'><sup id='2dt49'><dl id='2dt49'></dl><td id='2dt49'></td><tt id='2dt49'><blockquote id='2dt49'><big id='2dt49'><ol id='2dt49'><tt id='2dt49'><code id='2dt49'><p id='2dt49'></p><small id='2dt49'><li id='2dt49'></li><button id='2dt49'><tfoot id='2dt49'><i id='2dt49'></i></tfoot></button><tbody id='2dt49'><em id='2dt49'></em></tbody></small></code></tt></ol></big><q id='2dt49'><i id='2dt49'><span id='2dt49'></span><dt id='2dt49'><ol id='2dt49'></ol><b id='2dt49'></b><strike id='2dt49'><dir id='2dt49'></dir></strike></dt><legend id='2dt49'></legend><tr id='2dt49'><optgroup id='2dt49'><label id='2dt49'><select id='2dt49'><tt id='2dt49'><blockquote id='2dt49'></blockquote></tt></select></label></optgroup></tr><b id='2dt49'></b></i><dfn id='2dt49'></dfn></q></blockquote></tt></sup></sub><option id='2dt49'></option><td id='2dt49'><big id='2dt49'><tfoot id='2dt49'></tfoot></big><strong id='2dt49'></strong></td><tfoot id='2dt49'></tfoot><tfoot id='2dt49'><pre id='2dt49'><acronym id='2dt49'><table id='2dt49'><dir id='2dt49'></dir></table></acronym></pre></tfoot><tt id='2dt49'></tt><strong id='2dt49'><u id='2dt49'><div id='2dt49'><div id='2dt49'><q id='2dt49'></q></div><strong id='2dt49'><dt id='2dt49'><sub id='2dt49'><li id='2dt49'></li></sub></dt></strong></div></u></strong><big id='2dt49'></big><th id='2dt49'></th><dd id='2dt49'><center id='2dt49'></center></dd><td id='2dt49'></td><ol id='2dt49'><dd id='2dt49'><th id='2dt49'></th></dd></ol><dt id='2dt49'><div id='2dt49'><abbr id='2dt49'><strike id='2dt49'></strike></abbr></div></dt><center id='2dt49'></center><center id='2dt49'></center><bdo id='2dt49'><dd id='2dt49'><abbr id='2dt49'><strike id='2dt49'></strike><ul id='2dt49'><del id='2dt49'><q id='2dt49'><tbody id='2dt49'><noframes id='2dt49'><bdo id='2dt49'></bdo><ul id='2dt49'></ul></noframes></tbody></q></del></ul><big id='2dt49'><big id='2dt49'><dt id='2dt49'><acronym id='2dt49'></acronym><q id='2dt49'><select id='2dt49'><center id='2dt49'><dir id='2dt49'></dir></center></select><noscript id='2dt49'><strong id='2dt49'><tr id='2dt49'></tr></strong><label id='2dt49'></label><strike id='2dt49'></strike><option id='2dt49'><u id='2dt49'><ol id='2dt49'><blockquote id='2dt49'></blockquote></ol></u></option><table id='2dt49'></table></noscript><i id='2dt49'><abbr id='2dt49'></abbr></i><thead id='2dt49'><strong id='2dt49'><b id='2dt49'></b></strong></thead></q></dt></big></big></abbr></dd><acronym id='2dt49'></acronym><sub id='2dt49'></sub><optgroup id='2dt49'><del id='2dt49'><optgroup id='2dt49'></optgroup></del><button id='2dt49'></button></optgroup><ul id='2dt49'><em id='2dt49'></em><dir id='2dt49'><td id='2dt49'></td><address id='2dt49'></address><td id='2dt49'></td><thead id='2dt49'><thead id='2dt49'></thead><ul id='2dt49'></ul></thead></dir><del id='2dt49'></del><thead id='2dt49'></thead></ul><acronym id='2dt49'></acronym></bdo><legend id='2dt49'><font id='2dt49'><font id='2dt49'><span id='2dt49'><tr id='2dt49'><option id='2dt49'></option></tr></span></font></font></legend><tbody id='2dt49'><b id='2dt49'><select id='2dt49'></select></b></tbody><div id='2dt49'><form id='2dt49'></form><fieldset id='2dt49'><pre id='2dt49'><kbd id='2dt49'><u id='2dt49'><form id='2dt49'><li id='2dt49'><th id='2dt49'><dt id='2dt49'></dt></th></li><span id='2dt49'></span></form><address id='2dt49'></address></u><u id='2dt49'><tt id='2dt49'></tt></u></kbd></pre><p id='2dt49'></p></fieldset></div><tbody id='2dt49'><blockquote id='2dt49'><style id='2dt49'></style></blockquote><u id='2dt49'></u></tbody><fieldset id='2dt49'></fieldset><form id='2dt49'></form><li id='2dt49'><abbr id='2dt49'></abbr></li><acronym id='2dt49'></acronym><tt id='2dt49'><dl id='2dt49'></dl></tt><fieldset id='2dt49'></fieldset><em id='2dt49'></em><b id='2dt49'></b><p id='2dt49'></p><tbody id='2dt49'><address id='2dt49'></address><dd id='2dt49'></dd></tbody><dir id='2dt49'></dir><tbody id='2dt49'></tbody><ul id='2dt49'><select id='2dt49'></select></ul><td id='2dt49'></td><kbd id='2dt49'><tt id='2dt49'><q id='2dt49'></q></tt></kbd><tfoot id='2dt49'><select id='2dt49'><abbr id='2dt49'></abbr><table id='2dt49'></table></select></tfoot><em id='2dt49'><optgroup id='2dt49'><label id='2dt49'></label><ol id='2dt49'><dir id='2dt49'><label id='2dt49'></label><form id='2dt49'><thead id='2dt49'><tbody id='2dt49'></tbody></thead></form></dir><table id='2dt49'><form id='2dt49'><table id='2dt49'><legend id='2dt49'><li id='2dt49'></li><big id='2dt49'><span id='2dt49'><optgroup id='2dt49'><span id='2dt49'></span></optgroup></span></big></legend><noscript id='2dt49'></noscript><div id='2dt49'><code id='2dt49'><sup id='2dt49'><kbd id='2dt49'></kbd></sup><thead id='2dt49'><small id='2dt49'></small></thead></code></div><dt id='2dt49'></dt></table></form></table><abbr id='2dt49'><small id='2dt49'></small></abbr></ol></optgroup><abbr id='2dt49'><optgroup id='2dt49'></optgroup></abbr><sup id='2dt49'></sup><abbr id='2dt49'><style id='2dt49'><strike id='2dt49'><b id='2dt49'><i id='2dt49'></i></b></strike></style></abbr></em><table id='2dt49'></table><dl id='2dt49'></dl><strike id='2dt49'></strike><tt id='2dt49'><p id='2dt49'></p></tt><div id='2dt49'><noscript id='2dt49'></noscript><dt id='2dt49'><bdo id='2dt49'><strong id='2dt49'><sup id='2dt49'><acronym id='2dt49'></acronym></sup></strong></bdo><blockquote id='2dt49'><tbody id='2dt49'></tbody><tbody id='2dt49'><dl id='2dt49'></dl><del id='2dt49'></del><ins id='2dt49'><dfn id='2dt49'><button id='2dt49'></button></dfn></ins><td id='2dt49'></td><option id='2dt49'></option><tbody id='2dt49'><sub id='2dt49'><acronym id='2dt49'><font id='2dt49'><ins id='2dt49'></ins></font><tr id='2dt49'></tr></acronym></sub></tbody><dir id='2dt49'></dir><address id='2dt49'><bdo id='2dt49'></bdo></address></tbody></blockquote><form id='2dt49'><q id='2dt49'><dd id='2dt49'><fieldset id='2dt49'></fieldset></dd></q></form><ol id='2dt49'></ol><tfoot id='2dt49'></tfoot></dt></div><pre id='2dt49'><tt id='2dt49'></tt><noframes id='2dt49'></noframes></pre><dir id='2dt49'><tt id='2dt49'><q id='2dt49'></q><select id='2dt49'><dir id='2dt49'></dir><ins id='2dt49'><li id='2dt49'></li></ins><small id='2dt49'><ul id='2dt49'></ul></small><pre id='2dt49'></pre></select></tt><ul id='2dt49'></ul></dir><th id='2dt49'></th><ol id='2dt49'><sup id='2dt49'><i id='2dt49'><pre id='2dt49'><table id='2dt49'></table></pre></i></sup></ol><option id='2dt49'></option><dt id='2dt49'></dt><sup id='2dt49'></sup><big id='2dt49'></big><thead id='2dt49'></thead><p id='2dt49'></p><td id='2dt49'><acronym id='2dt49'><div id='2dt49'><tt id='2dt49'></tt></div><fieldset id='2dt49'></fieldset><bdo id='2dt49'></bdo><em id='2dt49'><font id='2dt49'></font></em></acronym></td><dir id='2dt49'></dir><u id='2dt49'></u><strong id='2dt49'><td id='2dt49'></td></strong><tt id='2dt49'></tt><q id='2dt49'><legend id='2dt49'><bdo id='2dt49'><bdo id='2dt49'><legend id='2dt49'><b id='2dt49'><strong id='2dt49'><label id='2dt49'><sup id='2dt49'><u id='2dt49'><sup id='2dt49'></sup></u><big id='2dt49'></big><select id='2dt49'></select></sup><p id='2dt49'></p></label></strong></b></legend></bdo><noscript id='2dt49'></noscript><dt id='2dt49'></dt></bdo></legend></q><small id='2dt49'></small><b id='2dt49'></b><li id='2dt49'><p id='2dt49'><label id='2dt49'><table id='2dt49'><sup id='2dt49'><em id='2dt49'></em></sup></table><blockquote id='2dt49'></blockquote></label></p></li><blockquote id='2dt49'></blockquote><dd id='2dt49'><thead id='2dt49'></thead><abbr id='2dt49'><noscript id='2dt49'><tbody id='2dt49'><style id='2dt49'><sup id='2dt49'></sup></style></tbody></noscript></abbr></dd></div></html>


 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">farsicad.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">diclofenac-sod.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
#                                                 _ __       
#   ___________      __________  _______  _______(_) /___  __
#  / ___/ ___/ | /| / / ___/ _ \/ ___/ / / / ___/ / __/ / / /
# (__  |__  )| |/ |/ (__  )  __/ /__/ /_/ / /  / / /_/ /_/ /   at ssw.com.au
#/____/____/ |__/|__/____/\___/\___/\__,_/_/  /_/\__/\__, /   
#                                                   /____/   
#
Contact: mailto:<see above>
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cialis-tc.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
178.128.0.34
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">svenskakorkort.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">winticket.asia</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">kangetakilimo.co.tz</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LctAbMZAAAAACNSlIY3qC7Ph_3PJM8csIf9Qsv5"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">backdraft.li</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">abhinaymathspdf.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Contact: mailto:security@catalyst-au.net
Encryption: https://pgp.mit.edu/pks/lookup?op=get&search=0xD9CE24853C661DA3
Preferred-Languages: en, nl
Canonical: https://www.catalyst-au.net/.well-known/security.txt
Policy: https://www.catalyst-au.net/information-security-policy
Hiring: https://www.catalyst-au.net/jobs
Expires: Fri, 16 Oct 2021 15:38:56 +1000
-----BEGIN PGP SIGNATURE-----

iQJNBAEBCgA3FiEEGlYHinKCYIxAhSw22c4khTxmHaMFAl+JMhoZHHNlY3VyaXR5
QGNhdGFseXN0LWF1Lm5ldAAKCRDZziSFPGYdo+vsD/wIBjV8t4qGH2eEsV1yQRK/
LoeECBgFOd0nfH98FIepFS3mjNOAtkrkLGSvNTpiRyoE9MdXZk8caHL/wY3svrqH
mWxKUYNwejiumonmtEJSoWIBEPhCWHHyukPrZPyuNQi+gPsOitJbC1s3BrsJ98C2
Cp8uiHPbyiXjvPUHjrBC60rI3d0Of0zpxThsafnZo13RpeN6GiG4Ac+gQ8b2vzut
NTjHCJpy8b3M9M9URUbn4n0jxK9SwQpx+mJTi20geBPfrYyD/7jJcxU/dr+NQJTa
mYd8JWfOpdv/XyRVQoHJqQOFOUk0PLadeo3zeg6DpQ078MInYtJE3OzPu7jXZw91
zu7jjeGPkvk13LJVosGhJaBnCkKSc5Yzl9bf8TB/mcgrJZlxO9AwmfSpSEy3MBt+
is9bvFoc4cq4cdukddanrS2NaYTucHdGtRGA2p3ck1LcJjbt60K/lK2aUp5SgBlc
J+qxO3+/JSZxOCZ/mf7vcIDsUnQI5J0pZU6d87wbF6EKhMIKwvLl+Uv5HVGCwWV1
+L3kWyy9XTc1jmT0JwPq8/ecavr6aGryY0/UJy38Ga/BxG6iZybf7viFe74w9V2S
5CxpIbbTz1KzuJ+LY1uvsZV9Tc5PB9OEocmtD4C9+/KUJYNm0UJeM+dYUmG8WzxV
QdOWU4mNm5LTe8F9HO1B1g==
=der1
-----END PGP SIGNATURE-----
 1
Contact: security@sciencebase.com
Contact: https://twitter.com/sciencebase 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">amasyanakliyatci.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# Our security address
Contact: security@oslobors.no

# Our PGP key
Encryption: https://www.oslobors.no/pgp-key.txt

# Our security policy
Policy: https://www.oslobors.no/ob_eng/Oslo-Boers/About-Oslo-Boers/Responsible-Disclosure 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">boardresultsbd.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">muglanakliyatevdeneve.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">poloralphlauren-uk.org.uk</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bewarajabar.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Contact: mailto:infosec@cfsbrands.com
Encryption: https://keybase.io/cfsbrands/pgp_keys.asc 
Preferred-Languages: en
Canonical: https://www.cfsbrands.com/security.txt
Hiring: https://recruiting.adp.com/srccar/public/RTI.home?c=2171907&d=ExternalCareerSite-CFS
-----BEGIN PGP SIGNATURE-----
Version: Keybase OpenPGP v2.1.3
Comment: https://keybase.io/crypto

wsBcBAABCgAGBQJeMbUIAAoJEKdNor90IB6dR9sH/07t4pOyJetfNXp4kLcpPD4N
qxq5n7e47K1K7F6a6oixFVwsl36/HLqyVsgWZs9uHM2aYzBuqfWuhfwctii/CsD7
bVXJCjnrz9VoukU/8FMHvrLa+xeHT22OIT/w9hOxY8Z5ZOtJSvFLKQl+xxT3msbB
xjMVNAj63vuhSh1xLF6gZxcx6fdvI0kfZGdfh9g3mUKK5g4I21kYfxe0mM7pu0NQ
FM9NZ5FUJ1M5hoJ3gTro8RQZk5BbmpGnhtAAK/PNCOxRTXEKNdGxZaxx4prf5d70
ImxvwjfwAmPb63DeW1Dn0FKXWMJXeOeV4fjOMPBInp7cgllTkA/8io312nt7fU8=
=2E2k
-----END PGP SIGNATURE-----
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">alleducationresult.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">thaienquirer.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfVovUZAAAAAAj673I9B35MkfEuPxgSpZTsb4Es"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">www.boyziimen.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">knives.pl</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">hypersmash.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LdL59oZAAAAAH6CYjOdgAO2qxfGPcJRee1hMVHN"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:vladimir.smitka@lynt.cz
Contact: https://twitter.com/smitka
Encryption: https://keybase.io/smitka/key.asc
Encryption: https://keybase.io/smitka
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">watchfriendsonline.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">idea4cash.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:security@webxmedia.com 1
# Information related to reporting security vulnerabilities of this site.

# How to communicate about security issues.
Contact: https://myzenkey.com/security/

# Encryption

# Acknowledgements

# Preferred languages for communication.
Preferred-Languages: en, es, fr

# Canonical

# Policy

# Hiring

# Please see https://securitytxt.org/ for details of the specification of this file.
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">fingerlingsmonkeys.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">universidadesen.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: security@zoot.cz
Hiring: https://www.chcidozootu.cz/it-devel/
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">insidevalleyranch.info</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">asiavirtualsolutions.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">kodlogs.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">context.cx</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cmd368.cash</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">operatorkita.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">sekolahgan.my.id</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Led5toZAAAAAAmsbC3JdZ92njDYKL-gGCrK4cwH"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">michaelkorsusa.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">forexprofitway.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">livinguard.com</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">raphaelsaadiq.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Ld55NoZAAAAALxD_DeEKQcLc40jWSV1DMCOIgaX"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:robin@digi.ninja
Encryption: https://keybase.io/digininja
Preferred-Languages: en-GB
 1
Contact: https://www.ysoft.com/en/report-a-security-issue
 1
Contact: mailto:security@tshirtslayer.com
Preferred-Languages: en
Expires: Thu, 31 Dec 2030 18:37:07 -0000
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">pinoybix.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">container-news.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">panicnitro.me</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">aveakirmizikusak.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">motogpvideogame.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">licensetoblog.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">burenie-cena.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">unic-autopaints.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
29/Dec/2020:11:36:22 +0800: Request GET /.well-known/security.txt HTTP/1.0 received, but we encounterd an unknown error. 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">lizoncall.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfK4tMZAAAAABsQSVKm3ohXwJCsTArVgbjUpRFA"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">emediasite.xyz</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">yourstardom.in</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">gclub88.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">meracoaching.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# If you would like to report a security issue
# please use our contact form
Contact: https://www.clio.com/security/responsible-disclosure
Contact: security@clio.com
Preferred-Languages: en
Hiring: https://www.clio.com/about/careers/
 1
# We at Dorothy Lane Market take our cyber security very seriously.
# If you think you've found something, please reach out to us.
# Please note, we do not offer payment for bounties, but
#	your reports are appreciated nonetheless
Contact: security@dlm.net
Preferred-Languages: en
Hiring: https://dorothylane.com/careers/
Canonical: https://dorothylane.com/.well-known/security.txt
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">canadagooseoutletonline.com.co</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">howtologintech.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">grammarcheck.id</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:security@kontist.com
Preferred-Languages: en, de
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">brandwondenstichting.nl</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">dooseries2u.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# If you would like to report a security issue
# you may report it to us by email
Contact: hello@trustroots.org
Hiring: https://www.trustroots.org/volunteering


# See also https://github.com/Trustroots/trustroots/blob/master/SECURITY.md
 1
Contact: mailto:infosec@ratepay.com
Encryption: https://keys.openpgp.org/search?q=infosec%40ratepay.com
Encryption: https://www.ratepay.com/en/impressum/
Preferred-Languages: en, de
Canonical: https://www.ratepay.com/.well-known/security.txt
Hiring: https://www.ratepay.com/en/career/ 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">www.down-nola.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">greekmyths-greekmythology.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Ldb59oZAAAAAB3A8MSe-zZMWvdeSKs9jlGAAmRA"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
MIIP3AYJKoZIhvcNAQcCoIIPzTCCD8kCAQExCzAJBgUrDgMCGgUAMHEGCSqGSIb3DQEHAaBkBGJ7
InRlYW1JZCI6IkhUTFVOWFpFNUoiLCJkb21haW4iOiJ3d3cucmlwY3VybC5jb20iLCJkYXRlQ3Jl
YXRlZCI6IjIwMjAtMDctMjIsMDc6MjI6NTYiLCJ2ZXJzaW9uIjoxfaCCDLIwggPzMIIC26ADAgEC
AgEXMA0GCSqGSIb3DQEBBQUAMGIxCzAJBgNVBAYTAlVTMRMwEQYDVQQKEwpBcHBsZSBJbmMuMSYw
JAYDVQQLEx1BcHBsZSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEWMBQGA1UEAxMNQXBwbGUgUm9v
dCBDQTAeFw0wNzA0MTIxNzQzMjhaFw0yMjA0MTIxNzQzMjhaMHkxCzAJBgNVBAYTAlVTMRMwEQYD
VQQKEwpBcHBsZSBJbmMuMSYwJAYDVQQLEx1BcHBsZSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEt
MCsGA1UEAxMkQXBwbGUgaVBob25lIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIIBIjANBgkqhkiG
9w0BAQEFAAOCAQ8AMIIBCgKCAQEAox6-8EfAtJ4QW0akuCG4T4YhcChFYFwcw8gKZGOI-_xp7vhU
_OlbtwZOBC_DazOvREzqS4AJtIf2W7T9ZN2zcuATs_0X2bznqO3CjGHCKvnszqVe1mnrZAuNCI-4
oFBGCdwZ5OWwlG2795mYxOibQU7U8WXjG1J63OgD2W4d2hBVhqQpWEkM6kfXFTQz9sCgREpwviy1
KjA3jC4V69HkbJc4VVaxNStY6kSjJoXuyGZK5M-J8D1jrSnerbpas9ylo5qnCU6AFjVlpIUNY3s-
Y4rafUpG7KM5GDS5xihlGLwTYJx_V6wUyYntobaHaFK2hE64yIPs-Z4Zq7PBC4bHnwIDAQABo4Gc
MIGZMA4GA1UdDwEB_wQEAwIBhjAPBgNVHRMBAf8EBTADAQH_MB0GA1UdDgQWBBTnNCouIt45YGu0
lM53g2EvMaB8NTAfBgNVHSMEGDAWgBQr0GlHlHYJ_vRrjS5ApvdHTX8IXjA2BgNVHR8ELzAtMCug
KaAnhiVodHRwOi8vd3d3LmFwcGxlLmNvbS9hcHBsZWNhL3Jvb3QuY3JsMA0GCSqGSIb3DQEBBQUA
A4IBAQAd0dV73XRO1xf8gi0MmZteQnLyadzVa14NDGtLPnsUJd6zlOig-g-AifIXPQACopGRvnRX
3K-an6EKfTC-ACrMIVnr_UmsbnUZ6Jp6A9GG9uf2sA5LSfqjt0G619HjVqF9g6uXrvhRSibBhUIT
Jo0DVGYQXmCEBRIxK2tUwKDIQbxUHudUrRMA0krHu8GKr4EIjvBGCr8npr7czzk6gHAZIzKja2Zd
nk2oR0mye0W1UTOndGcJTrZsb0j3LLkzBURrRb50S2-yhpG0PiUoJZ6zwlGG_E_lrzuqu0QsAUni
dLM0-kTvFMIR8i0ZGlGJ0whKQWxYVt6bOuEFV-Viz9IPMIID-DCCAuCgAwIBAgIIPXIg48-M8iUw
DQYJKoZIhvcNAQEFBQAweTELMAkGA1UEBhMCVVMxEzARBgNVBAoTCkFwcGxlIEluYy4xJjAkBgNV
BAsTHUFwcGxlIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MS0wKwYDVQQDEyRBcHBsZSBpUGhvbmUg
Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTQwNzExMDEzNTI1WhcNMjIwNDEyMTc0MzI4WjBZ
MQswCQYDVQQGEwJVUzETMBEGA1UECgwKQXBwbGUgSW5jLjE1MDMGA1UEAwwsQXBwbGUgaVBob25l
IE9TIFByb3Zpc2lvbmluZyBQcm9maWxlIFNpZ25pbmcwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw
ggEKAoIBAQDn2ZrDF6PJ6QfVx5mktHUhTBEDaB8wLAecd4gxSMhEBI2BzXrG-NP2RxxtTu665hSF
ccTvebNLddpohaZzVaLGh1F71xyBtQFq44yR7noq_M-VXvlxoCh--avU4c4OT5Xzyu23lQoy_yWZ
NvaYnSSLZFe29f2-RSH5rkR2t-qwO2mfbX9-1xGbsupDouX9JkfOzMQH4ud1xtv8fha1pJPGfK89
vd3AL4B4djpOfNhkTyolUYdBdg5u4JOkIao-Xcpfp4sLQKUvs7NqSsfGU7UfXCyKiO7kkC-f3VI-
FkHGOB5oJI8xLdtpcc-g80IaKBFKdJym1nhJWA3EvBxb8T17AgMBAAGjgaMwgaAwHQYDVR0OBBYE
FKReazv8ekdykXAJwSS9LzvJe6C-MAwGA1UdEwEB_wQCMAAwHwYDVR0jBBgwFoAU5zQqLiLeOWBr
tJTOd4NhLzGgfDUwMAYDVR0fBCkwJzAloCOgIYYfaHR0cDovL2NybC5hcHBsZS5jb20vaXBob25l
LmNybDALBgNVHQ8EBAMCB4AwEQYLKoZIhvdjZAYCAgEEAgUAMA0GCSqGSIb3DQEBBQUAA4IBAQCK
tlZOQdKx8yFDnQvZx_-0mFiZ7UGnMPHv29qAbSG2s1zcvofxOSG8xKHaJtLtpvHtwBGVGaxHuCoO
aZjU5ubOa-oiwSunAW5BTCwd4yOMhiejjBeczBvu2GQzD0QOiztIYhNiVNNxTZItgTr_psuOXENx
bIgzIjwgPx14uf8aKiHoc2nPm6Gh4T3pDBe8qXPX6VK6wrYfoSKFPrhcGrKae5_My1A6_pbH_EhH
9CSirT5M-0rbZ5wDcRUnP4NS-7L0GRapPqnsFOxewgqn803RMKrUrbgyoVAvTVXIQiesHM5yZPAs
4AnkTLkLIDU3nNULkcQxHdAr4lyCvX3Q_giZMIIEuzCCA6OgAwIBAgIBAjANBgkqhkiG9w0BAQUF
ADBiMQswCQYDVQQGEwJVUzETMBEGA1UEChMKQXBwbGUgSW5jLjEmMCQGA1UECxMdQXBwbGUgQ2Vy
dGlmaWNhdGlvbiBBdXRob3JpdHkxFjAUBgNVBAMTDUFwcGxlIFJvb3QgQ0EwHhcNMDYwNDI1MjE0
MDM2WhcNMzUwMjA5MjE0MDM2WjBiMQswCQYDVQQGEwJVUzETMBEGA1UEChMKQXBwbGUgSW5jLjEm
MCQGA1UECxMdQXBwbGUgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxFjAUBgNVBAMTDUFwcGxlIFJv
b3QgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDkkakJH5HbHkdQ6wXtXnmELes2
oldMVeyLGYne-Uts9QerIjAC6Bg--FAJ039BqJj50cpmnCRrEdCju-QbKsMflZ56DKRHi1vUFjcz
y8QPTc4UadHJGXL1XQ7Vf1-b8iUDulWPTV0N8WQ1IxVLFVkds5T39pyez1C6wVhQZ48ItCD3y6ws
IG9wtj8BMIy3Q88PnT3zK0koGsj-zrW5DtleHNbLPbU6rfQPDgCSC7EhFi501TwN22IWq6NxkkdT
VcGvL0Gz-PvjcM3mo0xFfh9Ma1CWQYnEdGILEINBhzOKgbEwWOxaBDKMaLOPHd5lc_9nXmW8Sdh2
nzMUZaF3lMktAgMBAAGjggF6MIIBdjAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH_BAUwAwEB_zAd
BgNVHQ4EFgQUK9BpR5R2Cf70a40uQKb3R01_CF4wHwYDVR0jBBgwFoAUK9BpR5R2Cf70a40uQKb3
R01_CF4wggERBgNVHSAEggEIMIIBBDCCAQAGCSqGSIb3Y2QFATCB8jAqBggrBgEFBQcCARYeaHR0
cHM6Ly93d3cuYXBwbGUuY29tL2FwcGxlY2EvMIHDBggrBgEFBQcCAjCBthqBs1JlbGlhbmNlIG9u
IHRoaXMgY2VydGlmaWNhdGUgYnkgYW55IHBhcnR5IGFzc3VtZXMgYWNjZXB0YW5jZSBvZiB0aGUg
dGhlbiBhcHBsaWNhYmxlIHN0YW5kYXJkIHRlcm1zIGFuZCBjb25kaXRpb25zIG9mIHVzZSwgY2Vy
dGlmaWNhdGUgcG9saWN5IGFuZCBjZXJ0aWZpY2F0aW9uIHByYWN0aWNlIHN0YXRlbWVudHMuMA0G
CSqGSIb3DQEBBQUAA4IBAQBcNplMLXi37Yyb3PN3m_J20ncwT8EfhYOFG5k9RzfyqZtAjizUsZAS
2L70c5vu0mQPy3lPNNiiPvl4_2vIB-x9OYOLUyDTOMSxv5pPCmv_K_xZpwUJfBdAVhEedNO3iyM7
R6PVbyTi69G3cN8PReEnyvFteO3ntRcXqNx-IjXKJdXZD9Zr1KIkIxH3oayPc4FgxhtbCS-SsvhE
SPBgOJ4V9T0mZyCKM2r3DYLP3uujL_lTaltkwGMzd_c6ByxW69oPIQ7aunMZT7XZNn_Bh1XZp5m5
MkL72NVxnn6hUrcbvZNCJBIqxw8dtk2cXmPIS4AXUKqK1drk_NAJBzewdXUhMYICjDCCAogCAQEw
gYUweTELMAkGA1UEBhMCVVMxEzARBgNVBAoTCkFwcGxlIEluYy4xJjAkBgNVBAsTHUFwcGxlIENl
cnRpZmljYXRpb24gQXV0aG9yaXR5MS0wKwYDVQQDEyRBcHBsZSBpUGhvbmUgQ2VydGlmaWNhdGlv
biBBdXRob3JpdHkCCD1yIOPPjPIlMAkGBSsOAwIaBQCggdwwGAYJKoZIhvcNAQkDMQsGCSqGSIb3
DQEHATAcBgkqhkiG9w0BCQUxDxcNMjAwNzIyMDcyMjU2WjAjBgkqhkiG9w0BCQQxFgQU3VDl_V_g
jqXrAQaryJpzV6SDwLMwKQYJKoZIhvcNAQk0MRwwGjAJBgUrDgMCGgUAoQ0GCSqGSIb3DQEBAQUA
MFIGCSqGSIb3DQEJDzFFMEMwCgYIKoZIhvcNAwcwDgYIKoZIhvcNAwICAgCAMA0GCCqGSIb3DQMC
AgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMA0GCSqGSIb3DQEBAQUABIIBANITRZz3X4BoZvqw
xAXJp0u02NL7HB33x7kpylsC0OZXAHDnwR-6gg3L24fW1dOZc7EBhsB-U3LCeH1X-NiwPyhewiVI
sOnHp8-135naz04p84KRWFWVqG_GM2XZXV0HMAhg2U2J1fnfwBuP4eY375ArDm8vEKOVt8T5Maje
hLbaL3QxOFf-_pIFX778lQl1LDT6yA_YwbIETh-Oe-4Ai6liQDrEboAcLx2HbzxiSb1UIZaO-wOy
ugKm9bpGgX2ZuTw9SznRAd9VvsQan-gYrI2WAaUR4wJeB1FSWZLUFIIu-FpKdT-xlRNNqeeWHHr3
_74CPnQXZlPQNxC55Wpbdkc

 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">jimmy-choosshoes.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">afyonhisar.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">hostednovel.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">westernhorseman.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">via-torrents.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lchk6YZAAAAAMtZq_oxtO9l3LLh684-F9AZ6Z7l"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ushealthworks.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">premierhomeware.co.za</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">partypillsforum.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# Our security address
Contact: mailto:security@ultra.io
# Our Preferred Languages
Preferred-Languages: en, fr, es
# Our Hiring
Hiring: https://ultra.io/career 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">walytech.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">the12daygiveaway.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">adult-web-hosting.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">3dsbs4u.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ekindex.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">l2lion.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">chimbasinfo.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">korhuay.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">filmativa.xyz</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcYKcMZAAAAAGJkmdtaclnNh6KJdv3J7joZS1gf"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">designrrreview.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">linuxpackages.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">multipaper.gr</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">canakkalesk.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Your Mentality Is Expired!
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">suggestionquestion.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">maximoceramico.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">dragqueenstoryhour.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lfmz14UAAAAAOOCaTqmWmCAD3z2nmNmMANMvSAd"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">juicywallpapers.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:support@poweronplatforms.com
Preferred-Languages: en
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">dailysokalersomoy.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Lc03u4ZAAAAAMWS8meYaSUwH94EtMPHzs_qSs0v"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">americadailypost.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Lex5toZAAAAAPJ8nc_gXuoFl9yyCRnijgQ4hZZj"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: michal.novak@cewe.cz
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">trk4.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">goodlink.ga</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">whatvwant.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfK4tMZAAAAABsQSVKm3ohXwJCsTArVgbjUpRFA"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">fontpark.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: security@bluedragon.nl
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">phunu.news</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcoKcMZAAAAACgO6ghlgbx8FaUoXCKbkdUAbPRm"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">revendo.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">solveguidebd.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">kheladhulaprotidin.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">myshorten.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">suvrettahouse.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">lian.lu</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcoKcMZAAAAACgO6ghlgbx8FaUoXCKbkdUAbPRm"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">best-male-enhancement-pills.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LdG59oZAAAAACunHfRVQGYNQUl3m-Es6Wyiu3EA"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">helonational.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfVptUZAAAAAOvaoXsPq1q6y4G74qzSye-sl_c6"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bloglet.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">casinomax.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">smartface.io</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: security@acrisure.com
Hiring: https://acrisure.com/about-acrisure/careers/ 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">pvni.vn</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">itnnews.lk</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">neworleanssaintsjerseys.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">unjaya.ac.id</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">capitalshockeyshop.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">georgeweb.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcsCLIZAAAAADU_sQWi4niJy64jlPXohxXRAoBv"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">anticor.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">weihnachtsgedichte-sprueche.net</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">shrtbtc.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cbs-senno.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">miamiheatjerseys.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# If you would like to contact us about a security issue please use the following:
Contact: security@truelayer.com
Encryption: https://truelayer.com/.well-known/pgp_key.asc 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">fontconverter.in</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">eliteventure.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">altop.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: dime@vne.ru
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">kirchenaustritt.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">isuper.tv</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">telkomakses.co.id</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cpasuperheroes.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">vonshmidt.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">binet.id</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">azkabrowser.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">www.prettyscale.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lfmz14UAAAAAOOCaTqmWmCAD3z2nmNmMANMvSAd"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:security@netgate.com
Encryption: https://www.netgate.com/pgp-key.txt
Preferred-Languages: en
Canonical: https://www.netgate.com/.well-known/security.txt
Policy: https://www.netgate.com/security/index.html
Hiring: https://www.netgate.com/company/careers.html 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">rcheph.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">clevelandcavaliersjerseys.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">belajaroffice.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">downloadapks.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfvptUZAAAAACNDXmTWsFWmBjSHy4FXt5bmi-Vv"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">wvw.dustreaming.vip</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">technokdji.tech</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ignytebrands.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lfmz14UAAAAAOOCaTqmWmCAD3z2nmNmMANMvSAd"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">presidenri.go.id</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">sivasplast.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bodeals.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">nikeoutlet-stores.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">banestiprahova.ro</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfkKs4ZAAAAAB2vulRKj4EVBSB04RQO4Dy6QkLb"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:security[at]digdeo.fr
Preferred-Languages: fr,en
Canonical: https://www.relations-publiques.pro/.well-known/security.txt
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">numberforsupport.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">optoprovod.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:hugo@hiawatha-webserver.org
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cafe-sao.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lfmz14UAAAAAOOCaTqmWmCAD3z2nmNmMANMvSAd"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">topmarketsinfo.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">fsdeveloper.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:security[at]digdeo.fr
Preferred-Languages: fr,en
Canonical: https://www.forbidden-places.net/.well-known/security.txt
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">dmcoupon.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">parahikma.ac.id</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mumbaipersonals.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">outletkatespade.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">hacking-tutorial.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">kppnmetro.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
d14:failure reason18:Malformed announce12:min intervali5400e8:intervali5400ee 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">birkenstocksandals.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ukraine.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bestmattresses2021.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfVptUZAAAAAOvaoXsPq1q6y4G74qzSye-sl_c6"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bolivar-commercial.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">nu-touch.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">danieleganser.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">alaskastar.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# Do not hesitate to contact us if you found a security issue
Contact: security@freelancehunt.com
Preferred-Languages: uk, ru, en
Canonical: https://freelancehunt.com/.well-known/security.txt

 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">stomat.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">quickbooksspecialist.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">viagracheap20like.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfVovUZAAAAAAj673I9B35MkfEuPxgSpZTsb4Es"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:security@peterborgapps.com 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">hitsltc.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcYKcMZAAAAAGJkmdtaclnNh6KJdv3J7joZS1gf"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">xoko.co.ke</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">jokh.com.pk</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">outletnike.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ontruck.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lfmz14UAAAAAOOCaTqmWmCAD3z2nmNmMANMvSAd"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">militarymodelling.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">e-zfiling.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Contact: security@freethought.uk
Encryption: https://www.freethought.uk/keys/Freethought_Internet_1FC1925D.asc
Preferred-Languages: en
Canonical: https://www.freethought.uk/.well-known/security.txt
-----BEGIN PGP SIGNATURE-----

iQJYBAEBCABCFiEEKtpM9QJIrZOVmJ5bRPM50B/Bkl0FAl2AoTYkHHNlY3VyaXR5
QGZyZWV0aG91Z2h0LWludGVybmV0LmNvLnVrAAoJEETzOdAfwZJdUdcP/0UGPYA6
t590/qmlSK1DUWzK/pBocZJ+vrLLHqFS3Ql1BoTct8G5GTn59QBIKDnXSfDmKAi5
1E6wDf6qH/kKP7VTPW7k/75Ak20kk4Na18m887yhAfABwb8teWCkjopZUNpExLa1
d0tyFa+anyP05TR8OyIHxMUrT2AkgRc8rgh3Xp48FKxyAa+49XNEtFCDmfn6TmxX
JazMj4zpDt1MBn7j1UAwhWxixIsJQboN7figNq6B3MOeDg+sMlHVRAPJNPJLbKpy
HZqXOM4V9LD9UVXGmBaAaLAhpM3Qm2lOgl5m6B92bUyTCUtvkqivARBLdtfaM4Af
p5BpvOeit5FGJtutESBSeGsw0ixgpERGFUQfnJ5S3vIKoTmyINeCZU1tDi1FpBUc
koqlP/dsThxZRXOk6VHsYxLgplvnekiN0kX+Idk6yoLlKTEYYd1k5aPbqAZ9AmKp
Nvkmj9YVHimhrUUFU8VIyZvizgdmDN/4uqzkYPMqxZ3bvSyfgomfBbFWRjuS8l7v
nH+2sp7Qw9oNQ1ZOZuxo5Fs2HXcq3Es97wqxoLWRYe4++6lN2PaThLTmnNjYINGq
IyAroChtRFNlgfDciGUCmK/54WwlJe7iPfiD7B7mTc/Dd9QMLKxj7y9tJqOFihM0
pg1QVeD5awBWBRZCqrUZARNd6Y7v6BBc0xkA
=o6wM
-----END PGP SIGNATURE-----
 1
Contact: mailto:incident@yes.com 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">odili.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">steigerlegal.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">kudapostupat.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">constantglobalnews.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cheapnba-jerseys.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">raybanaviator.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">melta.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">totb.ro</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">beltransit-alliance.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">granferiapzo.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lfmz14UAAAAAOOCaTqmWmCAD3z2nmNmMANMvSAd"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">fuxnxx.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">opendeveloper.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lfmz14UAAAAAOOCaTqmWmCAD3z2nmNmMANMvSAd"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">jaisalmernews.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">promixis.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>


</head>
<body class="visible_mode">
<div class="wraper">



    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">btfbd.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfNYcoZAAAAAP-8iMNVyg5Kghf0qcHlcwwmAIw3"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">footballplayerpro.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
No such domain configured 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">dev47apps.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mrtech.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Ldqs8sUAAAAAOQtUilFPCT2NZGRwqYC7WstVghF"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">games4pc.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfVptUZAAAAAOvaoXsPq1q6y4G74qzSye-sl_c6"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bestclassifieds4u.in</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: https://www.smile.co.uk/global/security/responsible-security-disclosure
Policy: https://www.smile.co.uk/global/security/responsible-security-disclosure 1
Contact: security@hosting90.cz
Preferred-Languages: cs, en
 1
0000
              00    00
              00    00
              00    00
              00    00
              00    00
          000000    000000
        00    00    00    0000
        00    00    00    00  00
000000  00    00    00    00    00
00    0000                00    00
00      00                      00
  00    00                      00
   000  00                      00
    00                          00
     000                        00
      00                      000
       000                    00
        00                    00
         000                000
          00                00
          00000000000000000000


 1
# AO.com - Please report any security vulnerabilities to us via the contact method below.
Contact: mailto:infosec@ao.com

# We're recruiting! Please visit the link below and search for "security engineer" if you're interested in a career with us
Hiring: https://www.ao-jobs.com 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">fondafgana.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">appsforpcfree.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto: devops@zenhr.com 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">semartara.news</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">sbobett88.asia</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">vegamovies.top</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">editor.id</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">roycollections.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfVptUZAAAAAOvaoXsPq1q6y4G74qzSye-sl_c6"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# Security vulnerability reporting for the MISP Project
# is handled by CIRCL Computer Incident Response Center Luxembourg

Contact: https://www.circl.lu/contact/
Encryption: http://pgp.circl.lu/pks/lookup?op=get&search=0xEAADCFFC22BD4CD5
Policy: https://github.com/MISP/MISP/blob/2.4/CONTRIBUTING.md#reporting-security-vulnerabilities
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">russiandvd.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">oopweb.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">2021training.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">coach-factoryyoutletonline.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">osmaniyerenkfm.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">brandlume.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lfmz14UAAAAAOOCaTqmWmCAD3z2nmNmMANMvSAd"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">m-design-usa.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">yeahzmusik.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">lifewth.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">egkhindi.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">apkfile.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfvptUZAAAAACNDXmTWsFWmBjSHy4FXt5bmi-Vv"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">fitflop-sandals-sale.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">pinoytambayanchannel.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:administrator@trainingtracker.co.uk
Preferred-Languages: en
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">certastampa.it</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: https://wpengine.com/security
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">agrotek.id</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">frankyreview.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">softcomplex.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lfmz14UAAAAAOOCaTqmWmCAD3z2nmNmMANMvSAd"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">darlinandrose.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">faithaliveumc.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcoKcMZAAAAACgO6ghlgbx8FaUoXCKbkdUAbPRm"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">jabalmubarak.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ballade.no</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">arsenal-bet.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfA5toZAAAAAIdgw5L-tFvheLL6MuniOeGXMWW5"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">belgs.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">eyerys.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfGL8cZAAAAAGGELA0_XxrTRXExpBSQc0vtgh8d"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">findmind.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">casadasrosas.org.br</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">propacademy.co.za</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">penginapan.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">flyershockeyshop.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">trabzondayim.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">tantasemocoes.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">drycleanerforsale.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">delmet.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:internet@rozhlas.cz
Contact: mailto:jan.pospisil@rozhlas.cz
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">digitria.in</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfVbrIZAAAAAEufUX4SwJpYkpQkdCw9qm7xSRGT"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mashviral.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">code.mu</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">whatonsaletoday.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfVptUZAAAAAOvaoXsPq1q6y4G74qzSye-sl_c6"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">astrologyclub.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# If you would like to report a security issue
# you can contact us as follows. Thank you!
Contact: https://support.istyles.com/hc/en-us/requests/new
Preferred-Languages: en 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">realgoldrates.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfvptUZAAAAACNDXmTWsFWmBjSHy4FXt5bmi-Vv"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">gamemite.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">kareemidn.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">lightmagic.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">playparkgames.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">multimediakingdom.com.bd</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">muoustore.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">4barcollective.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LexC9AZAAAAAJDcNyqsdjt4j98mZE3XMqi3gSYf"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">www.imadislam.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">pandoracharmssale-clearance.me.uk</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cheapnfljerseysstorechina.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">thedixonsplace.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">onlineftp.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">foxhunt.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">blogoto.vn</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcoKcMZAAAAACgO6ghlgbx8FaUoXCKbkdUAbPRm"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: https://www.axelspringer.com/en/cyber-security
Contact: mailto:security-incident@axelspringer.de 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">wheniwander.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lfmz14UAAAAAOOCaTqmWmCAD3z2nmNmMANMvSAd"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">brac.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">nashuexchange.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcoKcMZAAAAACgO6ghlgbx8FaUoXCKbkdUAbPRm"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">okedee.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">parshang-co.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">analekta.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">swiss-pass.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">romeltea.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">hit-counter-download.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">techmediabooks.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">www.hiphopoverload.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lfmz14UAAAAAOOCaTqmWmCAD3z2nmNmMANMvSAd"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">wallpaperforu.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:webmaster@sciencephoto.com
Preferred-Languages: en
 1
Contact: mailto:security@revizto.com
Encryption: https://revizto.com/pgp-key.txt
Acknowledgments: https://revizto.com/hall
Preferred-Languages: en
Canonical: https://revizto.com/.well-known/security.txt
Policy: https://revizto.com/csp 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">baa.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">alisaler.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">viagragebforsale.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">paulolyslager.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">xn--mgbeyn7dkngwaoee.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">birdandblendtea.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">dabungalowonline.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">artmolds.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">crains.info</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">sporthubtv.online</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Lck5toZAAAAAPT5DhXwFpv_4G4JQSp_bLfLOEWS"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mc.ai</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Contact: itsupport@robotworld.eu
Canonical: https://www.robotworld.sk/.well-known/security.txt
Preferred-Languages: cs, en
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJdZN6YAAoJEEoOfJGRvc+pbAwP/iLNUEUNFOB+pCSc0Je7zxbI
x0bHgvhs4op4GcUiMbvCKd54Dvsd7DNNhCUSkK633N8Szj1y88O4iyApl0zQCJ9V
4tIkEXIm4daoi6YqdMxk3X7sRmTwYbJBCpins2Zq98ThSRod8xY7IyvW/H3O1VfS
sv7P3RRHe5joqeqyIrO5skpjiCsxy3GKdWyAoNi/sDXNXJ2FiAU/mhKNEVufLI8B
oe6zl8K175FJEdZELJWPCBUtNmUA3MbR3nzsTa+qucMnZAtVuxN/wW1zAqZK9bIW
OZAWAKyx+y5dzLn4JrOuiKUpzHmh2rSishYNs5v2xhjHXqE5jOOjmeo83FKOWbjl
LeEM8EoZK8a8aGs6T3umE9Zy+GCyoC1XS3l/aZgeYx/ypc06u1rx1BwQmaIobZJ/
GME0P4OZA7OXzK1/CJlAipFyKsktwbW0lNZ2pKKr33T8PlCgsBgt4vy/y0Ojq8YR
yHEB2SUN6K8jsX0ptR6m0dHvuLbymBbhpPFCluphw3mKWivHoWRgDtL8xiSmI3ga
5VqEWg8gJpea2oHMi1BvQsc6ArCQBXPOisSuM1Y1A7fXr1ESKt6RdVVu86+VzRcA
+I41bZM+Ln4q5PVR3C0EQXP+nFAZ+MdqsLn/8aPv/zv8VZwX0IdyaSEJO7oMJBSr
bo2LLyPZl74BGDhLAt7l
=gKfj
-----END PGP SIGNATURE-----
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">zuegelzentrum.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">kvshq.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cheapairjordan.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bay.com.mt</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcT8s4ZAAAAACnuYUppKgySqoLs5Gy_1G2k1g9p"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">gberomania.ro</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">eventkampus.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">onlinecasinorealmoney.club</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LdG59oZAAAAACunHfRVQGYNQUl3m-Es6Wyiu3EA"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">lenk-simmental.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">eaglerockglobal.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cekkembali.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">boluescortt14.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">goldengoosesneakersale.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">betebet109.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LeG5NoZAAAAAHuWe0baGIASIFSwLOMMMizHTS7n"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">globallabourrights.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LdFFLYZAAAAALBp7N4HYvIcjXK6Io-QCon-gyg_"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">gadgetglobe.in</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mahabbatulislam.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">naijaonpoint.com.ng</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">materialeseducativos.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">khoinghieptre.vn</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">snelling.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bgipk.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">legalapply.ir</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# If you would like to report a security issue
# you can report it to me via the HPC:Factor Webmaster at the below
Contact: https://www.hpcfactor.com/qlink/?linkID=4
Preferred-Languages: en
Canonical: https://www.hpcfactor.com/.well-known/security.txt
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">kiliskatmer.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">c787898.info</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">xn--5dbefajegdc0fm.co.il</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">gemifinance.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: andrews@footshopltd.co.uk
Encryption: 
Acknowledgements: 
Policy: https://www.cosyfeet.com/security-privacy
Signature: 
Hiring: https://www.cosyfeet.com/working-for-us 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">coinland.info</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">indomiliter.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">www.opcionesbinarias.site</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">exceleratorbi.com.au</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: security@MatsMatsMats.com
Encryption:
Acknowledgements:
Policy:
Signature: 1
# If you would like to report a security issue, 
# please contact us securely.
Contact: mailto:appsec@careinnovations.com
Encryption: https://www.careinnovations.com/.well-known/appsec.asc
Preferred-Languages: en
Canonical: https://www.careinnovations.com/.well-known/security.txt
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">varietypc.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">imsisoft.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">pnsteelproduct.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">streetracing.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">dynamicmarketing.sg</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">richstone.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">viagra21-online.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LeS5NoZAAAAAA8gCTPKNiTJMcpCCN_7iCzIdOsh"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">vertragshilfe.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">weltkarte.com</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">hataygencradyo.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ishakapoormumbaiescorts.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<html> <center><div><h1>You are here because name mhpost.ru points to this server. But site mhpost.ru doesn't exist in web server's configuration.</h1></center></html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">webgundemi.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">tierpark-bern.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">kyrie1.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">sachcuatui.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">airmax90.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">forumdenizi.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: ivo.stejskal@ci.cz
Contact: https://twitter.com/ivostejskal
Contact: https://www.facebook.com/ivo.stejskal.5
Contact: dan.lebduska@ci.cz
Contact: tomas.kalny@ci.cz
Contact: petr.klimes@ci.cz
Policy: https://www.ceskyinternet.cz/privat-policy.html 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">kd9eliteshoes.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">meridianbetsport.rs</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">defriansyah.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">meadarayai.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">astalog.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">dragosroua.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LdkpMcZAAAAAAl4qSX8T2wSN0ZEOkCwGwjXXdjJ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">sahabat4d.site</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">rco.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">nikeairjordansshoesonlinecheap.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">dailyheadlines.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">erichost.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">klamanee.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">jeljewels.biz</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mybbdepo.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">thejeffreylord.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfK4tMZAAAAABsQSVKm3ohXwJCsTArVgbjUpRFA"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">yeezyboost-350.co</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mydivorcepapers.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">svtechknowledge.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mobapks.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LdvptUZAAAAANb1lYFax-21rw6T8GAS23Oej_1I"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

# If you would like to report a cybersecurity issue
# you may report it to Southwest Airlines at:
Canonical: https://www.southwest.com/.well-known/security.txt
Contact: mailto:securityreport@wnco.com
Encryption: https://www.southwest.com/pgp_key.txt
Encryption: openpgp4fpr:2C2D7CBD437FBB9DEE4CFB666A5CED2B8E440317
Policy: https://www.southwest.com/security-researchers.txt
Preferred-Languages: en
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEELC18vUN/u53uTPtmalztK45EAxcFAl1B5nwACgkQalztK45E
AxcDDw//Uu7X+1DondlYqrlpZiwmh0efj0rgNQ8FBgb3mCbljrHBE53zalw67496
b+/lk9TRLbKbddpirL/bVBAJD7vZh2qCOh+IXARAmwnN2neuAw4mlLnNxm7tRNMj
rgV6X4pN6rZjZAIRXh9GQLjbVgFSKZBQRlgI/BWSGWRmqw1s0VW+pK4fxM1YcPOk
uwfiaJk2A4lV09JWOhwZ2eZt2DYMewx0Wx5wlmGfpfxeUO08YbxkCb8WmhXfxwK9
iLamjn1XLh4M2DBw8XMRtaoVF+aXkyJUlvOVNCj676+y64PBCyOEbDRSxRqQC+dL
17GP/D1zzHh5JZkeIXPnem10YpEtak5IJ3epptgVgXbMvPCpVOXX8pCBubu3WhfD
cg1B/EvQBHs3OWKZouB63mbqfEAyiCeYcm5/dNO78L7u4ua/i8VdQ1egrQ30kg8K
d9Sjns5myvyEHQVuLYs3OT//kK1nDb4UDnehrwqJIIviJz5FwLIjErI+Qs07yg/C
rs9icR7Fygu1pARM0RBSXhpMqmhx44AmhiPT5jscKKB/6THlJz6sexrn6a8V6xrI
WwA1z1ZikREX+tAwqx5yrGgNsSIc9Acz2r6sfu1mmSP3Eu5evTDyoSxuBA8S9j7n
wwGLp4BW+kI4v7NlbaVdguRrbOQBoVUevBsCd1IVo5LWyAQBnD0=
=RAPX
-----END PGP SIGNATURE----- 1
Contact: https://hackerone.com/john_lewis
Preferred-Languages: en
Policy: https://hackerone.com/john_lewis
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">stirthewonder.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lfmz14UAAAAAOOCaTqmWmCAD3z2nmNmMANMvSAd"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:security@standards.org.au
Signature: https://www.standards.org.au/.well-known/security.txt.sig
OpenBugBounty: https://openbugbounty.org/bugbounty/AdamMcK44958707/

 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">nohitch.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcsCLIZAAAAADU_sQWi4niJy64jlPXohxXRAoBv"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">zymzolutions.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">korculainfo.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">einai.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ayayhome.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">beginnews.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">primomate.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">fred-perry.org.uk</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bildtagg.se</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">8kbiz.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">anphushopvilla.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcoKcMZAAAAACgO6ghlgbx8FaUoXCKbkdUAbPRm"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">barisozcan.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">aynsleylister.co.uk</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Ldn_dwZAAAAAAnjAUUMe0U7AiZXFjo5wJF1AYfc"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">sferatv.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">kuhkatzemaus.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:admin@nix-wie-weg.de
Preferred-Languages: de, en
Canonical: https://www.nix-wie-weg.de/.well-known/security.txt
Hiring: https://www.nix-wie-weg.de/jobs.html
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">infinite-sushi.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# This web site is managed by NitroSell; we always appreciate responsible/ethical security disclosures
# We are a small company and do not offer bounties or payments of any kind at this time
# If you would prefer to discuss by phone or online meeting, we are happy to do so
# Thank you for helping us out!
Contact: mailto:security@nitrosell.com
Encryption: https://keybase.io/donogh/pgp_keys.asc?fingerprint=7cf4f2e947af1fb42318d83bcf07567bd523c9fd
Preferred-Languages: en
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mannschaft.com</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mxgpvideogame.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">stuffchristianslike.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdUMfsZAAAAALA4iL5cot21gKs_5KCdV5AKCeOh"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">dilmil-bandung.go.id</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">apelzin.ru</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">faktograf.hr</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">porn00.me</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">knowworldnow.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">pandorajewelryus.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:admin@sucs.org
Preferred-Languages: en,cy
Canonical: https://sucs.org/.well-known/security.txt

 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">gramerkagoj.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">forexearobots.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ghanaown.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcsCLIZAAAAADU_sQWi4niJy64jlPXohxXRAoBv"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">www.portocarras.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LemRfYZAAAAAEaHEwv0Vx5-pvyQJIP9qlP4gEC6"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">pinr.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">modemsifreleri.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">taiwan-lotto.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">fashionmumblr.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">studyitalian.info</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">gershkovich.ca</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcNPrQZAAAAAJ9Ix4PI0IYlDwa250ISvbp9VDBw"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">camarinvisita.cl</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">gafaba.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Led5toZAAAAAAmsbC3JdZ92njDYKL-gGCrK4cwH"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">peybur.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">vnz-leech.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcoKcMZAAAAACgO6ghlgbx8FaUoXCKbkdUAbPRm"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html>
        <head>
            <title>Office de tourisme de Montmartre</title>
            <meta name="description" content="">
            <meta name="keywords" content="">
            <meta name="generator" content="ORT - Ovh Redirect Technology">
            <meta name="url" content="https://www.montmartreinfo.com/.well-known/security.txt">
            <meta name="robots" content="all">
        </head>
        <frameset rows="100%,0" frameborder=no border=0>
            <frame name="ORT" src="https://www.montmartreinfo.com/.well-known/security.txt">
            <frame name="NONE" src="" scrolling="no" noresize>
            <noframes>
                <body><a href="https://www.montmartreinfo.com/.well-known/security.txt">Click here</a><hr></body>
            </noframes>
        </frameset>
    </html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">oshonews.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">aixuebb.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">fun555casino.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Ld55NoZAAAAALxD_DeEKQcLc40jWSV1DMCOIgaX"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">siblondelegandesc.ro</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by https://www.best-hosting.ro
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Le3zQ0aAAAAAHrwOo1Ufb03MkdT4PDEGfXWgZKa"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">grundeinkommen.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cankirigenclikzirvesi.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cooperfund.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">officialnikefreeoutletstore.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdaKsMZAAAAANjQCqUrCoApHgXKqnVmsRDqgr8q"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">wbuy.pro</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
504373D0E4895D0D1F0018A786F2044BFF6BD66A33BE1A907631AD0A8E8DFD66
comodoca.com 50nTOmo7e5Sv87pZt55R
 1
Contact: security@ahginc.org
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">edmfull.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Ld55NoZAAAAALxD_DeEKQcLc40jWSV1DMCOIgaX"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: cert@michelin.com
Encryption: cert.michelin.com
Acknowledgements: cert.michelin.com
Permission: None
Hiring: careers.michelin.com
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">tabeerinfo.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lfmz14UAAAAAOOCaTqmWmCAD3z2nmNmMANMvSAd"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:security@aiken.cz
Encryption: https://www.aiken.cz/download/publickey.txt
Preferred-Languages: cs, sk, en
Canonical: https://www.aiken.cz/.well-known/security.txt
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">michellespartyplanit.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfK4tMZAAAAABsQSVKm3ohXwJCsTArVgbjUpRFA"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# Our security address
Contact: mailto://freddie@leemankuiper.nl
Contact: mailto://freddie@freddieleeman.nl
Encryption: https://www.freddieleeman.nl/pgp_key.asc
Preferred-Languages: en, nl 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">roshnipandit.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">nike-air-jordan.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">criptoinforme.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">careerinhindi.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bimasoft.web.id</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Lex5toZAAAAAPJ8nc_gXuoFl9yyCRnijgQ4hZZj"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">adiariocr.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">virallk.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">www.erichost.in</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
ab187ea90ae006a 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">drupepower.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">dalmatia.hr</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:mirt@mnemonic.no
Encryption: https://pgp.circl.lu/pks/lookup?op=get&search=0x837BA973BD84B881
Preferred-Languages: en,no 
 1
# If you would like to report a security issue please contact us below:
Contact: security@forallsecure.com
 1
Contact: vladimir.smitka@lynt.cz
Contact: https://twitter.com/smitka
Encryption: https://keybase.io/smitka/key.asc
Encryption: https://keybase.io/smitka
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">zegreenweb.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">easyfreeware.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfA5toZAAAAAIdgw5L-tFvheLL6MuniOeGXMWW5"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">faramedia.co</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bib-info.de</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">nabmoviess.ir</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Contact: team@cert.at
Encryption: https://cert.at/media/files/about/rfc2350/files/pgpkeys.asc
Preferred-Languages: de,en
Canonical: https://cert.at/.well-known/security.txt
Policy: https://cert.at/de/ueber-uns/rfc2350/
Hiring: https://cert.at/de/ueber-uns/jobs/
Hiring: https://www.nic.at/de/jobs
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEA4G+9WaUtTJb8E3codrD7f9N/7cFAl+1NlUACgkQodrD7f9N
/7fIRw//XBkXUHOB8Y+zHl43EvTSsi78YY7g1CqXBkmlBIpXpqKuah6DMbjvk33U
ZSekYaZfqbzuZrk33V7ns4PHdCxXK+ktrOmOmXpgSe/nVNO4X2SQAALnkxW0f6Ln
xgcj83IZTDw7i0W8V6fxEVKLH5zwDSAxez6cIMJdtq1H+mgtSo93nSVCvWLrFFPF
cygYadgLaSy9dOiqgWi7movOrQf2DByhCFOji1YpxcIcrvd5cL2uMr+MC9ppf695
AvsIb081dV8T0tbkurkzvgCMJOS+zmHxiWeGCd0K1d5XsVThA+AxqsNgHQ6Y52fz
FDqQ4viloApeSYD+A2cS7sd6F1/QdOdFIduSGP6l1a+msWV7/Gp2HZ5t90aPJMor
CVLGP6HUUkU1bn8KPlYBLsXEUQkPdTsNpdO+etdPZORzQKLIpcw2O2lcormZLNpe
2E3mM7FsE5+3rTD3XX4uVEOE0Q2BrrGYi6Ls3YEWAVMLd1W8KOSgGn+uVw4uNp/Q
t939JJUX7zA2HJNBHspTCgdVpFqjaVvtb9lpsc0pv9qChDbaVR1fwPWuYvxMvVI8
5alAyUV1BVd1jUUtJCilf85FHCW5ze2kzqLrk2imfTYT29Nm4cF1cLSmHdFH+0dm
mitp2vsvg+65rhx2gGKfBxqaFm8sfvBoa1DBl+a89rCM8lpuWTE=
=iHBN
-----END PGP SIGNATURE-----

 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ytmp3converter.cc</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: security@privatebin.org
Encryption: https://privatebin.info/key/security.asc
Acknowledgements: https://privatebin.info/category/reports.html
Signature: https://privatebin.info/.well-known/security.txt.sig

 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">eversmartproducts.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">zeroenergyproject.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lfmz14UAAAAAOOCaTqmWmCAD3z2nmNmMANMvSAd"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
﻿# If you would like to report a security issue
# you may report it to Challenger.com.au
Contact: mailto:cyberteam@challenger.com.au
Preferred-Languages: en 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">budgettravelerssandbox.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">viagra-cheap21.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfVovUZAAAAAAj673I9B35MkfEuPxgSpZTsb4Es"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">hqpornfree.info</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Lds59oZAAAAAOJ9lfOYC1XW5qPmx4u5MnbgUHe9"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ayudahosting.online</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">snbuysell.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# If you would like to report a security issue or vulnerability, please
# use the contact details below.
# 
# contact: mailto:nick@threepeakschallenge.uk
# contact: https://www.threepeakschallenge.uk/contact 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">elperiscopio.cl</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">especial.gr</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LeG5NoZAAAAAHuWe0baGIASIFSwLOMMMizHTS7n"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">coconia.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">plate-allmetal.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">tokatingilizce.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">garmentsmerchandising.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">idrqq.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">worldfree4u3.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">sporteology.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfVptUZAAAAAOvaoXsPq1q6y4G74qzSye-sl_c6"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# If you would like to report a security issue
mailto:security@jalios.com
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">babineau.info</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">indoacrylic.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">freelicensekeys.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">pixelsmithstudios.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Lcw474ZAAAAAADlHojwSS-DXmjNp70hsvJ32-dd"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">noguiltdisney.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">besttigwelders.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfVptUZAAAAAOvaoXsPq1q6y4G74qzSye-sl_c6"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">newnikeairmaxos.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">hausderbraut.de</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: https://onefile.co.uk/contact-us
Preferred-Languages: en
Canonical: https://onefile.co.uk/.well-known/security.txt
Policy: https://onefile.co.uk/information-security-policy 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">apkguru.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfVptUZAAAAAOvaoXsPq1q6y4G74qzSye-sl_c6"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bikeandrolldc.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">fax.ir</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">sariyerkent.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">casadeaposta.info</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LdL59oZAAAAAH6CYjOdgAO2qxfGPcJRee1hMVHN"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">east-harlem.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">oakleyholbrook.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">orizonbux.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cplicense.in</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: security@track1099.com
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Webnames web protection</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bcchamber.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">enggalmakmur.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">akhbartawdif.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LeO5NoZAAAAAGADqh8LwIJuRQ-mFCsRj1rTHQlE"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ranking-leasing-samochodowy.info</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">codegoodly.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ilovechile.cl</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">uptv.ir</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwgbYZAAAAAFCEskCr21WkvlCbzw7RPESl1o55"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">theconversationprism.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LdL59oZAAAAAH6CYjOdgAO2qxfGPcJRee1hMVHN"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:security@forgerock.com
Encryption: http://www.sks-keyservers.net:11371/pks/lookup?op=get&search=0x6D19AD771F43ADAD
Acknowledgments: https://backstage.forgerock.com/knowledge/backstagehelp/article/a64630659
Preferred-Languages: en
Canonical: https://www.forgerock.com/.well-known/security.txt
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">outlet-eyeglasses.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">voicemag.uk</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">teerresultinfo.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LdvptUZAAAAANb1lYFax-21rw6T8GAS23Oej_1I"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">nipunindia.in</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">popular.reviews</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ranclassified.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bsebresult.in</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">kansasgrip.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcXUe0ZAAAAALmHtF2tIer-4BgJIm-Vzh4ggx57"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:info@isec.pl
Encryption: https://isec.pl/en/pgp.key
Preferred-Languages: en,pl
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">thathost.ca</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LddLMMZAAAAAClUQ9EZT9W4auh45cMtsOBpabua"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">domino24.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">quarterhorsenews.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">psephizo.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">fashionember.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">formosa.express</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">seojen.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">satumanado.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">al84.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">czardas.com.co</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">kampai.pt</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">frenchspanishonline.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">vinayaklocks.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfgaMMZAAAAAF0FBvys9WtIUdh7gfWnqH2C4vFI"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">southafrica.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">newslampungterkini.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">canadianonlinexyz.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">loetschental.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">fashionmoodys.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">growthcommissionblog.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LeS5NoZAAAAAA8gCTPKNiTJMcpCCN_7iCzIdOsh"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">colombotribune.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:information.security@coop.co.uk 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">lbxwallet.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcoKcMZAAAAACgO6ghlgbx8FaUoXCKbkdUAbPRm"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">fiebercheck.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">seotutorialpoint.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">developerweb.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">accerlysilver.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">simplyfreshdinners.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">fbc.ca</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZIc0ZAAAAAMVDWupLr3E27Rdcvv8tPwPZMozv"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">hariansib.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">allmcqs.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ericmargolis.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: security@defiant.com
Encryption: https://www.defiant.com/5AC06220.asc
Preferred-Languages: en
Canonical: https://www.defiant.com/.well-known/security.txt
Policy: https://www.defiant.com/security/
# A PGP signature for this file is available at https://www.defiant.com/.well-known/security.txt.sig
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">isecuritysystems.ca</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcNPrQZAAAAAJ9Ix4PI0IYlDwa250ISvbp9VDBw"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
welcome to embedstream! 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">namdongtrunghathao.top</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cincinnatiredsjersey.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">thinktanks.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">gundogcentral.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">g7cloud.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">pamenar.co</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">javascript-ace.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Lc559oZAAAAACndmU4j0W42MtpU8pf7gpQNjRw6"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">nytsmallbusinesssummit.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:security@restu.cz
Contact: https://twitter.com/RestuDevKitchen 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">userboard.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mblogi.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">yellowswordfish.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">phamxuanquynh.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bestesia.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfVptUZAAAAAOvaoXsPq1q6y4G74qzSye-sl_c6"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ch-open.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">golesmagicos.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">tetragwno.gr</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: https://hackerone.com/proctergamble
Acknowledgments: https://hackerone.com/proctergamble/thanks
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bootcentreol.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">journeybeyondtravel.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mahirphotoshop.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">tarsandsblockade.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lfmz14UAAAAAOOCaTqmWmCAD3z2nmNmMANMvSAd"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html>
        <head>
            <title>Forum Fire Clan</title>
            <meta name="description" content="">
            <meta name="keywords" content="">
            <meta name="generator" content="ORT - Ovh Redirect Technology">
            <meta name="url" content="http://forum.fireclan.it/.well-known/security.txt">
            <meta name="robots" content="all">
        </head>
        <frameset rows="100%,0" frameborder=no border=0>
            <frame name="ORT" src="http://forum.fireclan.it/.well-known/security.txt">
            <frame name="NONE" src="" scrolling="no" noresize>
            <noframes>
                <body><a href="http://forum.fireclan.it/.well-known/security.txt">Click here</a><hr></body>
            </noframes>
        </frameset>
    </html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ecoclub.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# This is a security.txt file according to https://tools.ietf.org/html/draft-foudil-securitytxt-03
# and https://securitytxt.org/
# We currently don't have a bug bounty in place but below you can find information on 
# reporting security issues to us, for which we thank you in advance and will publicly
# acknowledge your contributions in our blog. Thank you for helping us make our product better
# and more secure!

# Our security address
Contact: security@acrossecurity.com

# Our PGP key
Encryption: https://www.acrossecurity.com/pgpkey.asc

 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ambassadorlocalmoving.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">rentacar-belgrade.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">lukacepatkering.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">arabgeographers.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcYKcMZAAAAAGJkmdtaclnNh6KJdv3J7joZS1gf"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">familytraveladventure.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mistralpartners.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ecloudbuzz.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">aeroinside.com</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mangalandarabic.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mikirtekno.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360 &amp; Provided by <a href="https://www.plusplushosting.net">PlusPlusHosting.Net</a></span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">crecerjuntos.gob.sv</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcrlagZAAAAADziUg7Nj1S8hD32bP_RcqYaMHe5"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">academicindonesia.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">brest-fortress.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">likmi.ac.id</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">tiffanyandcouk.uk</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">moleka.com.br</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">viralhub24.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfvptUZAAAAACNDXmTWsFWmBjSHy4FXt5bmi-Vv"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ipm.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">moviesmom.club</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">dentabrux.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">123gosell.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">christianlouboutin-shoes.info</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">glycine-watch.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">chopnews.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">wizardjournal.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lfmz14UAAAAAOOCaTqmWmCAD3z2nmNmMANMvSAd"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">xn--80aaafctbqklacb2bchi3eecl.xn--p1ai</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ajopiaman.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cutbr.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">gruene.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bodrumemlakhaber.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">antikenmuseumbasel.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">krzem-organiczny.info</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">dominoqqmu.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">oceancash88.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">iscm.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">torontoneighbourhoods.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lfmz14UAAAAAOOCaTqmWmCAD3z2nmNmMANMvSAd"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">simonsezit.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfpmtUZAAAAAPUNI5gSl0-SWsDhjjMWlZMS5nVq"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">babal.host</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">itzen.hu</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeTlQ8aAAAAAEEbp96WFqKiWd0OcF7eqx1mmwFR"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">akka.ps</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Lcm0LcZAAAAAAzVrR5ELYkryWJP0MG7W3x8qeii"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">xasaxa.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:info@dryveup.com 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">opelclub.rs</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">xitgist.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cinematix21.me</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">325westfulllerton.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Lck5toZAAAAAPT5DhXwFpv_4G4JQSp_bLfLOEWS"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">michaelkors-handbags.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">sbobet168.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bestdecafcoffee.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Lc03u4ZAAAAAMWS8meYaSUwH94EtMPHzs_qSs0v"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">blackbearhartford.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: https://federacy.com/check
Preferred-Languages: en
Policy: https://federacy.com/check
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">connyland.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">thelearninglab.com.sg</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">truckfighters.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">pgslotgames.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">vipthailottery.xyz</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mudaru.vn</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcoKcMZAAAAACgO6ghlgbx8FaUoXCKbkdUAbPRm"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">customaquariums.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">hotkolkataescorts.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
﻿# Please report security issues
Contact: +44-20-8949-6005
Contact: https://www.findachurch.co.uk/Contact.aspx
Permission: none 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">tuxedos4u.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">craftaid.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart captcha server after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">revue.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">burberry-outletsale.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">gaykeywestfl.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">unlimitedresellerhosting.co.uk</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">www.thalassemia.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:cert@cert.gov.ua
Encryption: https://cert.gov.ua/files/cert-ua-pub.asc
Preferred-Languages: ua, en
Canonical: https://cert.gov.ua/.well-known/security.txt
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">poddys.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">meenatchyamman.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Ld55NoZAAAAALxD_DeEKQcLc40jWSV1DMCOIgaX"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">vkvi.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">livefilm.info</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">txsc.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# If you would like to report a security issue please contact us via email
Contact: mailto:security@spaceapegames.com
Policy: https://www.spaceapegames.com/privacy-policy
Hiring: https://www.spaceapegames.com/careers
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bizinfo.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">800tollfreenumber.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">xmmdh.live</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">michaelkorstote.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdaKsMZAAAAANjQCqUrCoApHgXKqnVmsRDqgr8q"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">wiselyview.cc</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">droila.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: https://hackerone.com/proctergamble
Acknowledgments: https://hackerone.com/proctergamble/thanks
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">freeonlinephotoshop.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">censuswide.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LczWv8ZAAAAAFKNeSdiEiFFm3UB5Hv22Jrbo3GI"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">tugaflix.me</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LesbPoZAAAAAB16LcRjtM4jByBx_O28FbIBYPFd"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mannenzaken.nl</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cpti-ph.info</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">raspunsuri.info</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LdNMM4ZAAAAAMLIuG4mjgDuPHCEI3dh8ApiYOcG"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">camillaricco.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">twincitiesgeek.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LdMI7IZAAAAACyFEUONg9dxloiv08GZWxCZ899s"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: contact2018 [at] touradour.com
Contact: https://www.touradour.com/legal/contacts.asp 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">internationalfocus.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# Prière de signaler tout question de sécurité à l'adresse ci-dessous:
# Please report any security issue at the address below:

Contact: laurentbrun@gmail.com
Encryption: https://example.com/pgp-key.txt 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">jobsvita.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LdTS80ZAAAAALLlqX7icEbB9xM2C4xTxPaBGMio"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">langitdominoqq.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">locksecure.nl</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">storagechoice.com.au</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">neuer-1.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfA5toZAAAAAIdgw5L-tFvheLL6MuniOeGXMWW5"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">geschiedenis-winkel.nl</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html>
        <head>
            <title>Dungeon Kingdom Game</title>
            <meta name="description" content="Dungeon Kingdom dungeon crawler game for mobile, pc, mac">
            <meta name="keywords" content="Dungeon Kingdom Dungeon Kings RPG game 3d crawler heroic fantasy unity ">
            <meta name="generator" content="ORT - Ovh Redirect Technology">
            <meta name="url" content="https://www.hydro-games.com/dk/.well-known/security.txt">
            <meta name="robots" content="all">
        </head>
        <frameset rows="100%,0" frameborder=no border=0>
            <frame name="ORT" src="https://www.hydro-games.com/dk/.well-known/security.txt">
            <frame name="NONE" src="" scrolling="no" noresize>
            <noframes>
                <body><a href="https://www.hydro-games.com/dk/.well-known/security.txt">Click here</a><hr></body>
            </noframes>
        </frameset>
    </html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">washersmisr.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">theestimatinggroup.co.uk</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LdP59oZAAAAAE9uqISvdoDHgGGQrpV4Aw5O4eFF"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">refugeesps.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Lcm0LcZAAAAAAzVrR5ELYkryWJP0MG7W3x8qeii"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">sewutour.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">miamibeachfilmfestival.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">myroxbury.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcYKcMZAAAAAGJkmdtaclnNh6KJdv3J7joZS1gf"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">goartvin.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">qrum.bz</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:security@nuspire.com
Canonical: https://www.nuspire.com/.well-known/security.txt

Hiring: https://www.nuspire.com/careers/
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">www.fashionied.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcYKcMZAAAAAGJkmdtaclnNh6KJdv3J7joZS1gf"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">noithat368.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcoKcMZAAAAACgO6ghlgbx8FaUoXCKbkdUAbPRm"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">meinekfzversicherung.club</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">comprarcalzoncillosonline.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">wordsamillion.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">uggolcleance.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">paintress.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">kabarmedan.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">candymat.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">winalist.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">trayosa.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mygemologist.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">veloxitas.info</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">nike-shoesfactory.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">gbwomensvolleyball.co.uk</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">global-energy.eu</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">vidtomp3.info</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: mailto:istituto_geografico@esercito.difesa.it
Preferred-Languages: en, it

 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">4plnk1.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfyNdwZAAAAAOzujt6MS2tICqOTTQejtOWG9j9V"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">gemsyogi.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ogrodzenia.it</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfhD_MUAAAAAPXEjfj8gRQ_4Tt4hQLFPvzAK5dI"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">egyser.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ontheqtease.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">hostdoze.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bestofficeschair.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfvptUZAAAAACNDXmTWsFWmBjSHy4FXt5bmi-Vv"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cheatsheetapp.com</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">soderslattstaxi.se</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">the420.in</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ajkalerkhobor.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">mrdigicoin.io</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">unikal.ac.id</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">anime-xxx.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">accelacomm.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">viagraonlinelowprice22.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LeS5NoZAAAAAA8gCTPKNiTJMcpCCN_7iCzIdOsh"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">colorinmypiano.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">intelliturn.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">jomygosh.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">acnl.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lfmz14UAAAAAOOCaTqmWmCAD3z2nmNmMANMvSAd"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">vegasmessageboard.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LftRu8ZAAAAADqNTEtIbskevpg7G2NQM6HGTMbi"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">greenvillagebali.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ciateatralboladeneve.com.br</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">newsdurhamregion.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LdL59oZAAAAAH6CYjOdgAO2qxfGPcJRee1hMVHN"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">movie-list.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">healtyinfo.xyz</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Lck5toZAAAAAPT5DhXwFpv_4G4JQSp_bLfLOEWS"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">denverbroncosjerseys.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">paleodietfood.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">lesgerard.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Contact: mailto:security@complianceinsight.ca
Encryption: https://hkps.pool.sks-keyservers.net/pks/lookup?op=get&search=0x73BA321CCC874971
Acknowledgments: https://machinerysafety101.com/security
Preferred-Languages: EN
Canonical: https://complianceinsight.ca/.well-known/security.txt
Policy: https://complianceinsight.ca/security
Policy: https://machinerysafety101.com/security
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEErMULBfrU8CH9176ABX4ugFl7bu8FAlyf+oUACgkQBX4ugFl7
bu8RvQgAlCRgetzYqMFaFariAwniX29NeYBFktElBaLvPksLMiXn0i8plvbXNg2j
hAufV3PpFja1eSGizyP1qIiN2/lE6I0YWktEMuk7TaQOI/bZPvTj6k4wZAym9bai
pAQqD31DD5haMhXl+ApXTLyX2PKxzA3S/Hm3lnsBGFYSLzbKoXRja/+CpdfS13uh
PUZdBLsy0Rwk7QkkvEkq6ymc1CsFMZ5IGp10FSy7ISGzUS3ag6H7o8kdr4VQBTYs
ox/39nqKMEKQqABLSoEoRImSEAZrUdbry2H72yy6DUINTqBd1JtFKDFtm4ex+CjK
NDJxVsU3PQnjCN73K/z4GxTKZWZcIQ==
=TtDs
-----END PGP SIGNATURE-----
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">sanaclip.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">thdstudio.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Le4yPQZAAAAAIdQwXBM5T9GRBUAjvt1cD2VSBKK"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">relive-it.co.za</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">schweizerzeit.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
send abuse to : abuse@rapidwhm.com

Powered by Python 3.6.8
 1
Contact: mailto:security@sust-it.net
Acknowledgements: https://www.sust-it.net/acknowledgements.html
OpenBugBounty: https://openbugbounty.org/bugbounty/sust_it/
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">essada.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">myfoxwausau.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Ld55NoZAAAAALxD_DeEKQcLc40jWSV1DMCOIgaX"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">caravanite.info</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">esensifiksi.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">hdmoviesfair.icu</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ashleyhertog.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">phpmylicense.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">ayeshatarin.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfgaMMZAAAAAF0FBvys9WtIUdh7gfWnqH2C4vFI"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">arie.pro</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">tuzurusafaris.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">histaminintoleranz.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">andreavb.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdaKsMZAAAAANjQCqUrCoApHgXKqnVmsRDqgr8q"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">jordan11winlike82.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">soeasy.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">brestgortrans.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">totaljobsbd.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">lacalle.com.ve</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lfmz14UAAAAAOOCaTqmWmCAD3z2nmNmMANMvSAd"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">pinkninjablog.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Ld78LoZAAAAAATxzoa3vzNs7TkilBzDDF-xegF3"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">asianteenporn.co</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">enetation.co.uk</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Ld6C9AZAAAAAOLCR5ZHOEy0NRRGwkjFLYaeKffv"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">emptycanvaslive.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LeG5NoZAAAAAHuWe0baGIASIFSwLOMMMizHTS7n"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">notasdefutbol.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">fionaoutdoors.co.uk</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">lewandowski-9.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfA5toZAAAAAIdgw5L-tFvheLL6MuniOeGXMWW5"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">kodingin.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">filmizle2020.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">oakley-frames.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">masajescort.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bureniyeskvazhin.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">vaobong2015.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcoKcMZAAAAACgO6ghlgbx8FaUoXCKbkdUAbPRm"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">miofiles.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Lck5toZAAAAAPT5DhXwFpv_4G4JQSp_bLfLOEWS"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">coxsbazarshop.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">thicongsangohanoi.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">krzem.info</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">reallancastercounty.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf8yLEZAAAAAMLSN0kpoeU5PdUZxLfNy68JOxw7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">schatzalp.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">aalgorukle.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">amatar.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">starspost.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">yellowstar.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by InterShield</span>
</div>

<a href="mailto:spam@interserver.net"></a>


    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">xtrapets.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">eniyilerde.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">qoxy.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">evolvepakistan.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfVptUZAAAAAOvaoXsPq1q6y4G74qzSye-sl_c6"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">viralchilly.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bellasavvy.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LdZ5NoZAAAAADEmEQb8jglFhhdB2sHTza1TwpL9"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# If you would like to report a security issue,
# please contact us on email bellow
# using "Security" or "Bug" in the subject

Contact: sysadmin@klokantech.com
Contact: https://www.klokantech.com/contact/
Contact: https://twitter.com/MapTiler
Contact: https://www.facebook.com/maptiler/
Encryption: https://www.maptiler.com/.well-known/key.asc
Signature: https://www.maptiler.com/.well-known/security.txt.sig
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">crd-net.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">research.by</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">sourcecodec.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">trianglecf.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lfmz14UAAAAAOOCaTqmWmCAD3z2nmNmMANMvSAd"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: lbarancek@gmail.com
Preferred-Languages: cs, en
Acknowledgements: https://webcheck.cz/ 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">bdcrime24.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">everythingselectric.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">instyledress.co.uk</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">root4pc.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfVptUZAAAAAOvaoXsPq1q6y4G74qzSye-sl_c6"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">onlinemovies365.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">exxas.net</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">emarketz.ae</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">visitwhitby.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">cheapbasketballshoes.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">vegas365casinovip.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# Hello! Did you find a security problem? If so we'd appreciate if you let us know.
# You can e-mail us on the address below, and optionally use PGP to encrypt your message.
# Thanks a bunch. We really appreciate your diligence.
Contact: mailto:sysadmin@insomniasec.com
Encryption: https://insomniasec.com/cdn-assets/insomniakey.asc.txt
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">lukepeerfly.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lf_KMMZAAAAAOnPihjPNxex7Zox8RtrDorkc0jj"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">1p-173-212-206-2.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">jufmaike.nl</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
Contact: info@yourdomain.com
Preferred-Languages: en
Canonical: https://apptracker.stream/.well-known/security.txt
 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">balam21.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">esp-inc.biz</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeGKcMZAAAAAEF1juL8Z8tnoLJr1QfOk6T4ZGT7"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">konfor.com.tr</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">


<!--
You can this template as you wish
Add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript in head.tpl template.
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">tomsshoessale.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LdzKcMZAAAAANmAI6auKhtpQ_SSNlwpl2d00oos"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">forumkodesyair.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">durbanflorist.co.za</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcLaPwUAAAAAOLoPlKRFZnQW2QNKjKN2v1ReY2S"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">iawm.org</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6Lfmz14UAAAAAOOCaTqmWmCAD3z2nmNmMANMvSAd"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">nikerosherunol.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcoKcMZAAAAACgO6ghlgbx8FaUoXCKbkdUAbPRm"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
# Our security address
Contact: mailto:security@ekwateur.fr

# Our PGP key
Encryption: https://ekwateur.fr/pgp-key.txt

# Our security acknowledgments page
Acknowledgments: https://ekwateur.fr/credits/ 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">werkenmantelzorg.nl</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6Ldv9dIZAAAAABn4YR9UQYE5vfA1TqX6-8A6Mtpd"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">brayanmaju.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">windowsactivator.net</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">omerbozdi.com.tr</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LdDQ_UZAAAAALwi0I8en2FrQ10eivnMxaOi312X"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: #ffa74f;
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABmCAYAAACOYhxFAAAAAXNSR0IArs4c6QAAD3VJREFUeAHtXQt0FNUZ/u/MZvOGyDuAAnJQISoE0R6LVWN9VD2o52gAtVUIihahp/WoWEjCI/HZHs6pUFqgLFgqAtEeRbGt0IL4RAgBI0SQgjxCeCQBAsnmsTvT/59kZnY3s7N3dmd3Q5p7sue+//v/3/z33v/euXPDoAO6iXmv9fdK7hWikDx5jWvm8Y7GotDRGJr49CuDvXLjFuTrTvIp3tF4ZB2JoQmT5l8vgfw+gJyp88WqBGD3r11ZuF1Pi2+ow2jahMnzJiNgn/gDRuDImZRO+fGFSm897pqWO/XV7tDctBDB+YXOVrAQWwXOxBklS188F6xELNLjClrulKKfgeRdBjIM5BaWwTEQxCdLlhf8k7uOzQXjAhpq12WsuWmBDPKD4crDgL0rOxOfRa07Ei6NcOvFFLTHnnm5p7u+ZSYyOx27Y3K4TOv1mBvDi5JTE1776x9n1ejp0Q3FBLTcaa/3A7d7OpPlGTJAN7tFQiHqZMYWQnLyopLFL5ywm34gvaiCNjGveIwke6fJsvwoNuwMbDwK8WbG2FsCExevceXviAJ9haTtoJE1L0HjwyDLk2QZro4W46HoMgbfAmMrBUh62+5VRcSgoRaxiVOKrkWAxuE4dR/6Y9CPmG4oUPjzGfZcQK1j60VRXL962axy1EYcJcJ3loVT7CqP5xomSz9GcG7CGXAsmgw9wmchxjUZ1OLM+zmC+JnMhC/A4Si3avdpoOWuWycmfX04yVPHkj0ed09RgEzJK2UCg/6oPZdidxuODWUhUANiImYSKkOjxl6Um2SVKNce7M4VqJVHUQmOC6JQ5ZWgyuFIrnF0k92NNwxqLBk/3kuMsNzJ8+qQtSTsZglR5oyPfIIM3pFukIY1gfB9Ioi70TJpiRV45ixit26hR+lADUqPqIObt2MpVxrUDN5sN8gpklLPe0UTSANbQCxLBuFwLCZfc3bbFCvBYV4sNrlyTy94RjeA3NvTrkEC0DO2HhgC6NiZAqxGbFcm1glxBU3u4QHvNahNA5pDyk2AttxVB0KlE8TyRGC18WM9Li3L/VrAeyWB1RISrMACBDD9hMoEEPcheCdiPxTHDjQc4JUxC7uZnKFMQoF4WIoT4PRjZ0UQ9ye2jnkxmjCiCxrakFKmB6QhzSDjgC6L9k859AA8NzQAu84N7FgCCIecIFShWFG0r+0HzUlAoRb0R5BQE2SMx8LRA5Fx9iVtZs1ovmL3FY7jrwq7L8btdJGDhkao3BNB6u3FH85+vTzRfMhcstODklG7ScOVBVO1A4TT9BNx9kUQIzSa+UGjJ9kNd+u7e9t8BCcD4+mRj09cSIRZSOml+DC99Gujwc4jeGfxdc05B7A68jGOPnj5NJIbNO+IRjQPGsNkvWNVowetPOxL9dlbLE9CU4ZvX7TDvI3qWLCac9MFmjk+hrldoBnCYp7YBZo5Poa5XaAZwmKe2AWaOT6GuV2gGcJintgFmjk+hrldoBnCYp7YBZo5Poa53Msow9oXUeK4y26Bm/pmw6cnd8KHR7ZGxPn/BWgPDMqBSVfcrwB1ZcZg2FldAccbTocNXKfvnjf2GQmPD7tPA8grS9Ds1RfqWoaFQKcG7crug+E3V/8c3wHrWz6rvv8AqpvOWoCofdFOC1q/5F4we9QT4BT1Fy//OPoZvHd4c3sULKZ0StDSE1KgMPsp6OZM0+DYcXoPLPvuXS0eSaDTgZYgOGDWqCehf2pvDZcDdUfhd9+8CbjPrKVFEuh0oP0ax7DhGUM0TE65a6G4bCk0SaFfSGuVQgQ6FWiTht0PY/uO0kS+0NIA88uWwNnm81qaHYFOA9rdA8fCA4NzNEw8khde3e2CY/UntTS7Ap0CtDG9RsATV/mfrl+092349swBu3Dyo3PRgzY0fSA8d+3jIDJdlNUHPoItVVE7pwx6S35YGkV0A9EoNx5pvZMugfzsqZAkJmrN/7tyG6w79LEW5w/wysdkfFMKF7gIx+hwCRcvWCjVkazYYpck6p8l7K7ZB4sr1vKS8C/HKx+T6/EkJMOpRdatQH9SWoxxLNcynOnaOm/VgQ+htik63305mAgvjsyDS9P6afz9cP64MvDT2jIcxyMf0UV9rMP38lCHNp/P95VBmvSEVt/Hho2DnP7XKwTIVsrfsSjidZ4RN9OzHoZregzTsmobzym2mNvbpKVZDnDIRzRlYOcFQo6rAV71bSPWL6UXFI2ZDj0Tu3OR5y30yNC74dZM/FShzbk9jVCExmuki3Dew9CEl4DH3blAYxygUZc80VCtygOZCFzxmBnQwybgftr/RzD+8rs0+l60xV7/ZiUculCppYUb4JGPaBNeqGkyn7ncELp7nmmqg/zSRXDSrX8QR8C9hBoXKXAje1wB04aP98NkyXfvQFnNd35pYUc45FNo43BGJgfXV2usHk9Vc/T76sazMHvHwgDgekPxddPBd6azItygtEyYiQO/KOgnu985tBE+rvzSCpngZVEuRb7gJbQc/JLwJJocQoWWEiIgKBiHKITZBBxNAr4aR7sO4QBHGlqA2zwpjiSt4a1VpfC3Axu0eKQBXrmUdhAvBI3t5W4UD8HxutONZxTgaJdBdQNS+7QC59RtKzXPyCejtQCN115JGVr2HlwavbFntRa3JWBBLsJLEMDJDRo7Z2EBgdIEBW7MM0A2nZkTcFn0wrWTYEj6AK1YJS6+X9nlAo+snmnUsiIKWJGL8BKUbyEZ47JC2Rl9TOHl8lRjraJxp91ntCoDUvvirDrdFLinr3oIRvcartWh7Z15O5fABU+DlmZXgFsuxInwUlQHBzeucU04hd1TCj2LBgpDwNHkQJqnuoFtwHX32ZJW8x4acjvcORC/jGxzTd5meKlsGRAd2x3Ko8jFQVjFqa2/sXKOOspBXuEk/7jmS1PTuEDgcFb1Be7mfqPh0aH3alUlXBYtKF8F39cd0dLsDCjycB5QxkWUglOrponsP7yMKOfyeQsHlKPZtICWVji7qo7WjzSrdk9IgxEZQ2FG1iN+r9yW73sPtp3me6YqTSu+FXlYG04KaIKYsglfDXKtdNnx8DRNFeQEApePXbUdcDjGzRo1BejFiOrWH94CG45uVaNR8XnlIXwIJ2JCAe3tpc9V43uanTxcsTo8c3/B+oTgS7sVuEVQE6BxafjqTXVfnfoGVux/X41GxSc5SB4+x0oJJyqrgNZaif2LrzKA+N/IP1g94a5Wlly0QxHo9p/7QRnH8HOPwCxb41bkQE60nU0NNFHmB00g0Gz4YKsKF/ezSxeCL3C04C/GmbJZ4tjAiwRC5F+Rg5OGLz4aaFcN/smX3NtEjQII+MWbHY6Am4Vj3HZ8A06/wtLFUNdSbwdpUxoK/ygHjyNcCB+1rJ/RlTt57hLsEVPVTDOfvrTz5PDtlJvRiVeeY3Na6xd6PAwwWFqyYu5TalF/qEVhqZoRyqepmn8QDUUttvnEtxVTA7dX/HDxA63kL4WlOLVyzaIkprhb33mIrdiRtWaFb8KDcPFt0Q80ysCdJT9UfQsHhoWjTmD4LeXF5Ihf4pvXGeHRDrRUlrSatuR4iTp28X3ux0sv2uWs8Es4EB6BPLUDzeWaSdvf7QoGVlTjDBfx9NnzxeCIT+LXglvdhodflXagUa5DcL5KV8T4lTSJOEpR2zi2wk1IRD8L+RN36CuOUA2S/ISDUTlD0Fa7fnsQrfElRhUM0/DzZrrapiM74o9dMBTXkG2Sn3AwygxKJSkxtYj7yAJSFvEypY7aTYkv4o/b4VENRf4gFYKCturPz5/COguC1DNMdnyFdwHZfJ2DYUMWEokf4suiW9Amv2G1oKBR6XSW/Hu0U/S3v4YkfBJxWSJ+kdp6rYNPcryCdL0E8QOcyyXik+Qluc14Nt0XKSvb1DwiW1kr6VupZtSoURzfoElQLjIJUTTq2Y7tKdavEGPsubdWzP7cjDm/tadRQbrzcULevI/xdfztRvnB0ujiOG9W/K6kEPfglRF0YZ0Fh1q2aa1rzp04c5ruSZl2T2qPCCSIyZMxqO9RczBCDAs/8FveHCS5i1C7VgEj+UjOUIARE6bdU+WyfOemuqxRtx3FTbQH1TQen67rgnQ8vW/DLVY87VEZEW/0UwZ+y/t9wpQ1LvNuqfLABRoV3rtrc/nV2beOwGCWWjmkTxt9tM7DPxnvIIq2E/dhl9yGM6VFwLBbritZOWcOL38hu6cvIVno9kvssJW+aTxhEVcM0TZ+iT61Y92xyla5+GtaAq1k+bO1gsDuxYGO1qeWnFiRBI7Pcfq3e7mF9Igu0bfsUA6Sh+SyUjfk7GlELHfSvDtQpTeEc82rnCaB98b61mvDjIhbSKPrvcQv0S60sDxSyeOA34IWwb3YLTeqabw+95jmS3Dvri0HR4zGiUGWH/BN5wmThU636THUEKkPjnOWdL2tBTz/4sDZWfyaViDhEEA6gvBEyYo5f+fhObBMWKARkb1lm3dlZd+G9oycE0g0dBx3qmgz8Jiz9ZrWZFOzyI8cHVZJ2Jyu1MXx1S+PO8KEOSUrCv/AXT6gYNigER2cUT/Jys7pi8HWI90BxENFGa4cxIO4kKZlDpkleNlmMMcasCxql2M7dkcLy6J29Bj7E2rYC+3SLSREBBq1g111Q1b2rdRHbrHQrl4UcRJqcGzajwN5fRt4PvdI0nhFM6NjWyoItLUeHFedZrAQg/n4Vun5YNm86WHqd3vyuXnzp4IkL0apInsQyBFdhikNwbu7D7VdxRoJUAqrzAsCm1biKuR+/9FeQj3FNtCIZG5e0X0gSWsQuHAMJp0rW0P4f1gEYWKJq2C9XWRtBY2YQo27ETXuAwSup11Mhk+H1aCGjUMN096Oh09LrxnmfK0TCAwRgyITs9EA/jQwL6ZxbJ/4sBswksF2TVOBoX8KwT6qyMfhqCDicU4lyuUzOtdYJN8zvFj9pwtc1SwUihpoKg+5ecU3gex5E2e9y9W0qPkMDgJzPF7iyv8sam0gYdu7ZyCzJEDqoEFZTGDz8AlFZVeS6BJ9aifagJF8Udc0XxAfyXvl8hap+Q3srtzb5771jcNsQ4Lg/FWw123GdSJLjSloKqu04MfHNRvXrreoaZZ9xj5hTChe5ypQzsFarh9BhbiApvI7fsr8sWjXzcLdhnvUtFA+7q58hHbXy+uWF5q+/AhFJ5L8uIKmMj4hb/5IWZKn4FvtCZjWR0338U/hEn8tjlvL17oKd/ukxyXYIUBTJZ87d7Oj4sjWO/B7i0cRwDsQqI34idRbwy+7eePcuTnR3y9XGQnh/w+Cy+3XTZDSlQAAAABJRU5ErkJggg==">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">knirschfrei.ch</h4>
                    <p class="cap_note cap_text count_down">
                        ist durch die Web Application Firewall von cyon geschützt.
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                Wir haben von Ihrer <b>IP-Adresse 2604:a880:2:d0::651:5001</b> ungewöhnliche Aktivitäten festgestellt und den Zugriff zur Website blockiert.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Bitte bestätigen Sie, dass Sie kein Roboter sind:</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LeFj8IZAAAAANsRVTkBDZmONd5GporfXPWCQC4K"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "Die IP-Adresse wurde entsperrt."
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="invisible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">tuconsultoraseo.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

        </div>
    </div>
</div>

<form class="form-group form-captcha">
    <div id="re-captcha"
         class="g-recaptcha"
         data-sitekey="6LcZaPwUAAAAAKQ8DW178c0eBeIXAr0c_oEQnHMZ"
         data-size="invisible"
         data-callback="check"
    ></div>
</form>

<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
-IBa33M9w08t7gWUivrIgluN_RLxcjtCjcJqSKsJD30.1vsCfErSmu5su-OtHPobQ_ZsgHqHyhSxfEgKduNR244 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">scottalanciolek.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">epiclopedia.id</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfsZ_wUAAAAAHoeRpleA1IY4j62iofQtA_0jJhB"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">expoceramico.com</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">adidasshoesdiscountos.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LcSJ8MZAAAAAAQnq8Bu-5AiX-Jq_J4VvdU2dAyL"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Captcha</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
          integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
          crossorigin="anonymous">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
          rel="icon" type="image/x-icon"/>
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans"
          rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <script src="https://www.google.com/recaptcha/api.js?hl=en"
            async defer>
    </script>


    <style>
        html, body {
            height: 100%;
        }

        .wraper {
            padding-bottom: 56px;
            position: relative;
            min-height: 100%;
        }
        .invisible_mode .wraper {
            display: none;
        }

        .header {
            height: 63px;
            background-color: white;
        }

        .middle {
            height: 186px;
            background-color: rgba(55, 171, 99, 0.75);
        }

        .bottom {
            background-color: #f2f2f2;
            position: absolute;
            bottom: 0px;
            top: 249px;
            width: 100%;
        }

        .captcha_absolute {
            margin-top: -153px;
        }

        .captcha_div {
            width: 485px;
            margin: 0 auto;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18), 0 0 8px 0 rgba(0, 0, 0, 0.12);
            background-color: white;
            padding: 47px 48px 18px 48px;
            position: relative;
        }

        .cap_head {
            border-bottom: 1px solid #d8d8d8;
            padding-bottom: 17px;
            margin: 0 10px 20px 10px;
        }

        .logo_shield {
            display: inline-block;
        }

        .logo_shield img {
            width: 54px;
            height: 72px;
        }

        .cap_side {
            width: 295px;
        }

        h4#text {
            font-size: 20px;
            line-height: 1.38;
            color: #000000;
            font-weight: bold;
            font-family: Noto Sans, sans-serif;
            margin: 6px 0 0 0;
        }

        .cap_text {
            font-family: Noto Sans, sans-serif;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.65;
            color: #000000;
        }

        p.cap_note {
            font-size: 20px;
            margin: 0;
        }

        .captcha_passed h4#text, .captcha_passed p.cap_note { font-size: 18px }

        .cap_mess {
            font-size: 13px;
        }

        .powered_span {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            height: 18px;
            opacity: 0.45;
            font-family: Noto Sans;
            font-size: 13px;
            font-weight: normal;
            font-style: normal;
            font-stretch: normal;
            color: #1d1d1d;
        }

        /* A few hacks for re-captcha */

        .invisible_mode .re-captcha-wrapper { /* shift reCAPTCHA below our text */
            top: 350px !important;
        }
        .invisible_mode .re-captcha-wrapper > div:first-child { /* hide reCAPTCHA mask */
            display: none !important;
        }
        .visible_mode #re-captcha {  /* align to center */
            width: 305px;
            margin: 0 auto;
        }

        /* Imunify360 preloader */

        .big_loader {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            width: 90px;
            height: 90px;
            margin: -45px auto 0 auto;
            opacity: 0.55;
        }
        .visible_mode .big_loader {
            display: none;
        }

        .rot {
            -webkit-animation: spin 2s ease-in-out infinite;
            animation: spin 2s ease-in-out infinite
        }

        @keyframes spin {
            0% {
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
                transform: rotate(0deg);
            }
            100% {
                -webkit-transform: rotate(360deg);
                -moz-transform: rotate(360deg);
                -ms-transform: rotate(360deg);
                -o-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
    </style>

<!--
This whole tempalte goes to inside <head></head> tags
Modify this file to add javascript or css files for your page from customize/static folder
Jinja2 (which is index.html template engine) is not allowed to use here.

Please, restart captcha server after your changes.
service imunify360-captcha restart
service imunify360-captchaserver-nginx restart

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Add your custom css from customize/static/ folder
<link type="text/css" rel="stylesheet" href="static/my.css">
-->
</head>
<body class="visible_mode">
<div class="wraper">

<!--
You can add your css, javascript, images and other static files in /customize/static/ folder
And add css, javascript into the end of `head` section of this template
Please, restart webshield after your changes
systemctl restart imunify360-webshield
-->
<div class="header">
  <!-- Header of the index page -->
</div>

<div class="middle">
  <!-- Body of the index page -->
</div>

<div class="bottom">
  <!-- Footer of the index page -->
  <span class="powered_span">Powered by Imunify360</span>
</div>

    <div class="captcha_absolute">
        <div class="captcha_div">
            <style>
    .dropdown {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .dropdown .dropdown-toggle {
        background-color: #fff;
        border: none;
        outline: none;
        color: #858585;
        font-size: 13px;
        height: 32px;
        line-height: 1;
        transition: all 0.4s;
        font-family: 'Noto Sans', sans-serif;
        margin-right: 22px;
    }

    .dropdown .dropdown-toggle:hover {
        background-color: #e7e7e7;
    }

    .dropdown .dropdown-menu-content {
        background-color: #ffffff;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        border-width: 0px;
        border-radius: 0;
        padding: 11px 0 0;
        overflow-y: scroll;
        max-height: 365px;
        margin: 0;
    }

    .dropdown .glyphicon {
        margin-left: 6px;
        top: 2px;
        transition: 0.3s all;
    }

    .dropdown li {
        height: 35px;
        text-align: left;
        padding-left: 24px;
        font-size: 13px;
        color: #4d4d4e;
        line-height: 2.85;
        font-family: 'Noto Sans', sans-serif;
    }
    .dropdown li:last-child {
        margin-bottom: 14px;
    }

    .dropdown li.active {
        font-weight: bold;
    }

    .dropdown li:focus, .dropdown li:hover {
        color: #4d4d4e;
        background-color: rgba(56, 171, 99, 0.11);
    }

    .dropdown .dropdown-menu-content > li:hover {
        cursor: pointer;
    }

    .dropdown .dropdown-menu-container {
        max-height: 365px;
        overflow: hidden;
        width: 164px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
        z-index: 5000000000;
    }

    .dropdown.open .glyphicon {
        transform: rotate(180deg);
    }
</style>


<div class="dropdown">
    <button type="button" class="dropdown-toggle" data-toggle="dropdown"
            aria-haspopup="true" aria-expanded="false">
        <span class="dropdown-title">English</span>
        <span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
    </button>
    <div class="dropdown-menu dropdown-menu-container">
        <ul class="dropdown-menu-content"></ul>
    </div>
</div>

<script>
    (function () {
        var items = {
            English: 'en',
            Dutch: 'nl',
            Ukrainian: 'uk',
            Arabic: 'ar',
            Italian: 'it',
            Chinese: 'zh',
            Polish: 'pl',
            Danish: 'da',
            Hungarian: 'hu',
            Russian: 'ru',
            French: 'fr',
            Spanish: 'es',
            Romanian: 'ro',
            Greek: 'el',
            Swedish: 'sv',
            Turkish: 'tr',
            Indonesian: 'id',
            Portuguese: 'pt',
            Hebrew: 'he',
            German: 'de',
            Malay: 'ms',
            Norwegian: 'no',
            Farsi: 'fa',
        };
        var currentLocale = $('html').attr('lang');

        var currentLocaleName = Object.keys(items).find(function (key) {
            return items[key] === currentLocale;
        });

        $('.dropdown-title').text(currentLocaleName);

        $('.dropdown-menu-content')
            .append(Object.keys(items).sort().map(function (item) {
                return $('<li>').text(item);
            }))
            .click(function (e) {
                var nextLocaleName = e.target.innerText;
                if (nextLocaleName === currentLocaleName) {
                    e.stopPropagation();
                } else {
                    document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
                    location.reload(true);
                }

            });

        $([].find.call($('.dropdown-menu li'), function (item) {
            return item.innerText === currentLocaleName;
        })).addClass('active');

        function insertParam(key, value) {
            key = encodeURIComponent(key);
            value = encodeURIComponent(value);

            var kvp = document.location.search.substr(1).split('&');
            if (kvp == '') {
                document.location.search = '?' + key + '=' + value;
            }
            else {

                var i = kvp.length;
                var x;
                while (i--) {
                    x = kvp[i].split('=');

                    if (x[0] === key) {
                        x[1] = value;
                        kvp[i] = x.join('=');
                        break;
                    }
                }

                if (i < 0) {
                    kvp[kvp.length] = [key, value].join('=');
                }

                //this will reload the page, it's likely better to store this until finished
                document.location.search = kvp.join('&');
            }
        }
    })();
</script>

            <div class="cap_head clearfix">
                <div class="logo_shield">
                    <img src="/a9bc224bd710f56d27affffddc764239b58c3faa0/shield.png">
                </div>
                <div class="cap_side pull-right">
                    <h4 id="text">animemusic.us</h4>
                    <p class="cap_note cap_text count_down">
                        is protected by Imunify360
                    </p>
                </div>
            </div>

            <p class="cap_mess cap_text text-center">
                We have noticed an unusual activity from your <b>IP 2604:a880:2:d0::651:5001</b> and blocked access to this website.
            </p>

            <p class="cap_mess cap_text text-center">
                <b>Please confirm that you are not a robot</b>
            </p>

            <form class="form-group form-captcha">
                <div id="re-captcha"
                     class="g-recaptcha"
                     data-sitekey="6LfwghwUAAAAAAYrFATHtss0Xe_bC7I6OWE_ayK4"
                     data-callback="check"
                ></div>
            </form>
        </div>
    </div>
</div>


<!-- imunify360 preloader -->
<div class="big_loader">
    <svg class="rot" width="90px" height="90px" viewBox="0 0 47 47"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink">
        <title>Loader</title>
        <defs>
            <polygon id="path-1"
                     points="0 0.375484146 0 15.7255695 15.7013244 15.7255695 15.7013244 0.375484146 0 0.375484146"></polygon>
        </defs>
        <g id="Page-1" stroke="none" stroke-width="1" fill="none"
           fill-rule="evenodd">
            <g id="Logo" transform="translate(-5.000000, -2.000000)">
                <g id="Group-2" transform="translate(5.000000, 2.000000)">
                    <path d="M22.6150244,4.52988293 C23.1538049,3.06256585 23.6031707,1.59582195 24.231939,0.158882927 C25.1902805,2.22459024 25.8190488,4.43989512 26.7768171,6.47579756 C29.1417195,7.40376098 31.7164024,7.7929439 34.1116829,8.69110244 C28.9623171,11.2663585 23.7229634,13.7510537 18.4836098,16.176139 C19.7709512,12.2545049 21.2382683,8.4217122 22.6150244,4.52988293 L22.6150244,4.52988293 Z"
                          id="Fill-1" fill="#467C45"></path>
                    <path d="M13.7718598,8.94461585 C16.1424939,7.68077439 18.4500793,6.28968902 20.8207134,5.02527439 C18.9240915,10.8412378 16.7747012,16.5614817 14.8465549,22.3774451 C12.7292622,18.3950549 10.895689,14.2544695 8.9044939,10.2090305 C8.27228659,8.85004268 7.5455061,7.55353049 7.00844512,6.16359146 C9.31545732,6.95342073 11.4648476,8.24935976 13.7718598,8.94461585"
                          id="Fill-3" fill="#467C45"></path>
                    <path d="M24.2134256,15.0745049 C29.4602305,12.4969561 34.7379866,9.91940732 40.0157427,7.4031878 C39.1565598,9.61276098 38.1747183,11.7300537 37.2232549,13.9086756 C38.4504134,16.2099561 39.9544134,18.388578 41.0898646,20.7511878 C35.4435598,18.9405415 29.8287793,17.0381878 24.2134256,15.0745049"
                          id="Fill-5" fill="#467C45"></path>
                    <g id="Group-9"
                       transform="translate(0.000000, 11.919659)">
                        <mask id="mask-2" fill="white">
                            <use xlink:href="#path-1"></use>
                        </mask>
                        <g id="Clip-8"></g>
                        <path d="M8.34869024,0.375484146 C9.93064146,3.33419146 11.2781659,6.43963049 12.7426171,9.45622805 C13.7387878,11.5362646 14.793422,13.5876427 15.7013244,15.7255695 C10.4579585,13.9091915 5.21401951,12.03435 -0.000114634146,10.0718134 C2.05069024,9.1341061 4.21842195,8.4898622 6.29845854,7.61119146 C6.97193415,5.17980122 7.67521463,2.77706951 8.34869024,0.375484146"
                              id="Fill-7" fill="#467C45"
                              mask="url(#mask-2)"></path>
                    </g>
                    <path d="M29.1793195,18.0496049 C33.5600634,19.4670561 37.9081366,21.0776659 42.2888805,22.5593122 C43.6742341,23.0745927 45.1558805,23.4609098 46.5085634,24.1372512 C44.2216122,25.039422 41.9025634,25.9100683 39.6477098,26.8110927 C38.8103073,29.4195927 38.2302585,32.1261049 37.3607585,34.7346049 C35.5890878,31.4497634 34.0432463,28.0353854 32.3684415,24.6852024 C31.3052098,22.4945439 30.1456854,20.3044585 29.1793195,18.0496049"
                          id="Fill-10" fill="#467C45"></path>
                    <path d="M28.9972232,29.3489207 C29.5789915,27.69475 30.0684793,26.0113476 30.7419549,24.3887012 C31.538089,25.7660305 32.1811866,27.2356402 32.9154183,28.6444939 C34.7220524,32.4709817 36.68115,36.205189 38.4568329,40.0316768 C36.2827963,39.1449817 34.1402841,38.1654329 31.9364427,37.2460671 C29.6403207,38.4709329 27.4662841,39.9405427 25.1094061,41.1035061 C26.3033207,37.1549329 27.7419793,33.2671159 28.9972232,29.3489207"
                          id="Fill-12" fill="#467C45"></path>
                    <path d="M4.97133902,25.64555 C9.93385122,27.1873793 14.7737049,29.036428 19.6748878,30.6705378 C20.4148512,30.9170012 21.1542415,31.1944159 21.8328756,31.5337329 C16.5304732,33.9685622 11.3214976,36.6498549 5.95776585,38.99355 C6.82096098,36.8355622 7.89966829,34.7698549 8.7319122,32.581489 C7.68358293,30.1764646 6.11194878,28.01905 4.97133902,25.64555"
                          id="Fill-14" fill="#467C45"></path>
                    <path d="M15.4549183,35.8770488 C19.4671134,33.9317073 23.4483573,31.8952317 27.4915037,30.0433171 C26.4110768,33.6542927 25.0222841,37.203939 23.8186256,40.8143415 C23.1090402,42.7275854 22.5530646,44.7033049 21.7511988,46.5855976 C20.7630524,44.4866463 20.0534671,42.2650366 19.1277963,40.1351341 C16.6276256,39.2094634 14.0042232,38.684439 11.4736744,37.9748537 C12.6773329,37.0801341 14.1584061,36.586061 15.4549183,35.8770488"
                          id="Fill-16" fill="#467C45"></path>
                </g>
            </g>
        </g>
    </svg>
</div>

<script>
    $(document).ready(function () {
        var visibleByDefault = false;
        var captchaIsPassed = false;
        var captchaIsVisible = visibleByDefault;
        var reCaptchaWrapper;

        function do_reload() {
            $.ajax({
                type: 'POST',
                url: '/ungraylistcheck'
            }).done(function(data){
                if (data.ungraylisted && data.redirect == 'pending') {
                    setTimeout(do_reload, 1000);
                }
                else {
                    location.reload(true);
                }
            }).fail(function(){
                location.reload(true);
            });
        }

        window.check = function (value) {
            $.ajax({
                type: 'POST',
                url: '/captchacheck',
                data: {
                    'captcha_value': value
                }
            }).done(function (data) {
                if (data['success']) {
                    captchaIsPassed = true;
                    $("#text").text(
                        "IP 2604:a880:2:d0::651:5001 has been unblocked"
                    );
                    setTimeout(do_reload, 1000);
                } else {
                    grecaptcha.reset();
                }
            }).fail(function () {
                grecaptcha.reset();
            });
        };

        function updateUI() {
            // change the size of our block to fit the captcha block
            var blockWithText = $('.captcha_div');
            var captchaBlock = reCaptchaWrapper.find('> div:last-child');
            var currentPadding;
            (function update () {
                var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
                var padding = captchaIsPassed ? '' : space + 'px';
                if (currentPadding !== padding) {
                    blockWithText.css({'padding-bottom': padding});
                }
                setTimeout(update, 500);
            })();
        }

        function makeVisible() {
            $('.big_loader').hide();  // hide our preloader
            $('.wraper').show();  // show our text and stuff
            // add class to reCAPTCHA wrapper so our css would apply to it
            reCaptchaWrapper.addClass('re-captcha-wrapper');
            captchaIsVisible = true;
        }

        function executeCaptcha() {
            try {
                grecaptcha.execute();
            } catch (e) {
                setTimeout(executeCaptcha, 2000);  // retry
            }
        }

        if (!visibleByDefault) {
            /**
             * Detecting captcha when css is changed to visible.
             * Invisible reCaptcha has no API calls when captcha will be visible,
             * (captcha is shown to user).
             * When captcha changed css "visibility" to the "visible", we should:
             * 1. hide the loader and captcha mask
             * 2. display some additional text
             * 3. display a dropdown so user can switch to a different language
             */
            (function checkVisibility () {
                reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
                    ? reCaptchaWrapper
                    : $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
                if (reCaptchaWrapper.css('visibility') === 'visible') {
                    makeVisible(reCaptchaWrapper);
                    updateUI(reCaptchaWrapper);
                } else {
                    setTimeout(checkVisibility, 100);
                }
            })();

            // start captcha challenge after loads all scripts
            setTimeout(executeCaptcha, 2000);
        }

    });

</script>

</body>
</html> 1
